Answer the question
In order to leave comments, you need to log in
Why isn't didReceiveRemoteNotification called when a push is received while the app is not running?
Hello! It is necessary that certain code be executed in the didReceiveRemoteNotification method.
When the application is active, a push notification is sent - all is well. When the application is not running, this code is not executed.
Added fields "content-available": 1 and "priority": 10 to aps, still did not solve the problem.
Tell me please!
Answer the question
In order to leave comments, you need to log in
wandering through the expanses of Google and reading various articles, I found a solution to this problem - https://developer.apple.com/library/content/docume...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question