Answer the question
In order to leave comments, you need to log in
How to force not to show a push notification that the application does not know about?
Hello! I'm doing push notifications and there was such a question.
There are two versions of the application, version 1 is installed on one phone, version 2 is installed on the second.
They have differences in that application 2 knows and can process push messages with the "new_follower" type. In the first version of the application, this is not.
But, when the server sends a push, iOs displays it regardless of whether there is such functionality in the application or not. Because the system doesn't know about it. And you can create a simple condition only after the user opens the notification. Because the application has access to the data container, which comes in a push notification only after the application is opened.
How to be in such a situation. After all, the user can have many devices on which there can be a different version of the application.
Answer the question
In order to leave comments, you need to log in
Send push notifications for a specific version (and higher).
Associating token and device information is a backend task .
If you suddenly use a firewall, it works out of the box.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question