Reputation: 1
I am experiencing an issue with the Unity Mobile Notification library in my Android app. When the app is running in the background and I click on a notification sent by it, the app restarts instead of resuming from its previous state. And when i click on the notification with the app running in the background the QueryLastRespondedNotification() function doesn't return any Notification.
I attempted to modify the AndroidManifest.xml by setting the android:launchMode="singleTask" for the UnityPlayerActivity. Even after making this change, the issue is still happening. Also, I'm using the Unified API from the Unity Mobile Notification library to schedule and send notifications, just like the docs suggest.
Even with these adjustments, the app continues to restart instead of resuming. Can anyone help me with this?
Upvotes: 0
Views: 34