You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this plugin offers a way to "handle" when an user taps on the notification?
It should, by default, open the app. But is there any way to handle some custom parameters sent from the initial notification payload and permit Unity to do specific operations?
Another smaller question is, does it works good when the mobile app is closed?
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
From it, you can access the Notification and NotificationClickResult in Unity. (They have fields that are defined here and here).
It should look something like this:
OneSignal.Notifications.Clicked+=(sender,e)=>{// Access the notification with e.Notification and the click result with e.Result// string rawPayload = e.Notification.RawPayload;// IDictionary<string, object> additionalData = e.Notification.AdditionalData;};
By custom parameters do you mean the raw payload or additional data?
A notification will display in the foreground even when the app is closed. Tapping on the notification will open the app and still fire the notification click listener.
How can we help?
Does this plugin offers a way to "handle" when an user taps on the notification?
It should, by default, open the app. But is there any way to handle some custom parameters sent from the initial notification payload and permit Unity to do specific operations?
Another smaller question is, does it works good when the mobile app is closed?
Code of Conduct
The text was updated successfully, but these errors were encountered: