- Home /
How do I process a push notification received while app is closed or in backgrounding iOS?
Long story short - push notifications are working. When I receive a notification while app is running, I call HandleOnRemoteNotificationReceived and set an indicator on an icon IN my app to notify the user. However, if a remote notification is received while app is closed, or background, I can't seem to determine that. The app gets a badge icon - but I can't seem to find a way to determine in OnApplicationFocus if there is a badge on the icon so I can turn the indicator on in the app. UnityEngine.iOS.NotificationServices.remoteNotificationCount returns 0 unless I receive the notification while the app is running.
Your answer
Follow this Question
Related Questions
[iOS] NotificationServices.localNotifications is empty when game is minimized 1 Answer
iOS local notifications never appear 1 Answer
Location (Geographic boundary) Triggered Push Notifications in Android 0 Answers
Is there still an issue with LocalNotifications in Unity 5? 1 Answer
How to add info.plist to notification service extension? 0 Answers