-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OneSignal.Notifications.addClickListener does not fire on push notification tap when app is killed #918
Comments
I also face that kinds of issue on 5.2.0 . Please help me out! |
Been having similar behavior, not only on cold start. My app uses some native code for some other SDK. The other SDK had GeneratedPluginRegistrant.register(with: "xxx"), and it was placed AFTER GeneratedPluginRegistrant.register(with: self). The GeneratedPluginRegistrant.register(with: self) has to be at the very end, for both Android and iOS. example for swift:
Tested with latest 5.2.2 and working fine.. all handlers as expected. Hope this helps someone. |
Solution given by @ihijazi should work for most of the people, but the problem is
To fix this, I am re-registering
Calling it in flutter like this
|
I am comfronting same issue, and @ihijazi solution did not work for me 😓 My appDelegate looks like this
|
How can we help?
Hi,
I just reopen this issues (#723) that in 5.2.2 is still same issue
in original firebase, using FirebaseMessaging.onMessageOpenedApp.listen, if in background mode and clicking notification, the listener callback is called. But if in one signal (OneSignal.Notifications.addClickListener), the listener callback is not called
Anyone who helps solve this problem, I would like to thank you very much
Code of Conduct
The text was updated successfully, but these errors were encountered: