V
V
Vladislav Pavlenko2017-05-10 10:32:04
Objective-C
Vladislav Pavlenko, 2017-05-10 10:32:04

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!
13ef9164b5c241478577fcd365332f74.png5537c88bbde84cc6a68bf7024f238dac.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Pavlenko, 2017-05-10
@pavlenkovs

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 question

Ask a Question

731 491 924 answers to any question