swift - What is the solution for push notification delegate to fire when app is in not running state? -


how can make fire push notification delegates if app not running state without tapping received notification. 1. received notification 2.not tapping on notifications 3.launching app clicking app icon

in state how can check if push notification received or not?

see comment here:

uiapplicationlaunchoptionsremotenotificationkey not getting userinfo

basically set "content-available": 1 in payload , application:didreceiveremotenotification:fetchcompletionhandler called.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -