Questions tagged [didreceiveremotenotification]
4 questions
2
votes
1 answer
Crash when calling completion handler for `UNUserNotificationCenter`
I'm working on an app that, when receiving a silent push notification; will make two networking calls to get some data, and then use that data to create a local push notification.
This mostly works great in the foreground and the background; with…

narner
- 2,908
- 3
- 26
- 63
1
vote
0 answers
Background push does not work when app is in Not-Running/Suspended state
I've been studying push notifications, specifically background push. I've followed Apple docs and various stackoverflow posts - Added Push Notifications capability, Remote Notifications in Background modes (as shown below),
registered with APNS,…

NightFuryLxD
- 847
- 5
- 15
1
vote
1 answer
Implement method only if boolean is true (application:didReceiveRemoteNotification)
I'm trying to build my own library and I'd like to know if there is a way to only implement in my code a method if a certain boolean is true. It would be something similar to @available(iOS 14, *), but using a boolean declared in my class.
The…

danilink88
- 45
- 1
- 6
0
votes
0 answers
Why tap on remote notification misses navigation to desired screen
when i tap on push notification when app is in killed state it don't navigate to desired screen but when it is active state or foreground state it working perfectly.
but sometime it also navigate in killed state.
need proper solution.
thanks.