-
Notifications
You must be signed in to change notification settings - Fork 61
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
[Bug]: OneSignal.Notifications.Clicked not called #638
Comments
To clarify, is the click event not being called in the following scenario:
We are investigating this issue with the click handler not being called from an app killed state in our wrapper SDKs. Thanks for bringing this to our attention with Unity. Let us know if you are seeing the click event not being called in other scenarios |
@shepherd-l faced the same as op. Is there a workaround on 5.0.2? Read that setting the callbacks before initialization was a solution? Edit: ^ tried this, but didn't work. Thanks! |
@shepherd-l yeah no click event either. got a rough eta in mind for the next release? this makes it quite difficult to track our push notification retention metrics and also breaks flows for push triggering in-app events :( Thanks for the heads up! |
@shepherd-l sorry to push you, but are there any recommendations you may have while we wait? I currently have features that rely on the callbacks from tapping on a push (ie event firing when player opens app from tapping on push). The majority of the times, our games are launching from killed states as our game requires an online connection. Would appreciate any solution that may help us -- is downgrading an option for us? |
@jawnwee I suspect that you can do something similar to what we did with our example project and include the OneSignal packages locally and use the packages from our latest source code (user-model/main branch) https://github.com/OneSignal/OneSignal-Unity-SDK/blob/user-model/main/OneSignalExample/Packages/packages-lock.json#L18 This bug exists in previous versions of 5.x but I’m not sure about 3.x. I also don’t recommend downgrading to 3.x because the api changes would be a lot of work. As for the eta of the release, I am aiming for this week |
Thank you! End of week / next is good enough for us. Appreciate the follow up solution, but yeah I imagined that downgrading there wasn't going to be the solution. Thanks again |
I just did all of this migration work just to find out that this piece of core functionality is not working anymore. Simply reverting the changes didn't work either, Unity seems to be broken and now i'm doing a clean reinstall. This bug is a complete show stopper for anyone interested in push notifications and should honestly be warned about somewhere. |
5.0.3 is out! Thank you for your patience Trucksome |
What happened?
OneSignal.Notifications.Clicked event not called when app opened from notification.
Steps to reproduce?
What did you expect to happen?
OneSignal.Notifications.Clicked event to be invoked when notification clicked.
Unity version
2022.3.2f1
OneSignal Unity SDK version
5.0.2
Platform
iOS
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: