K
K
konstik3602021-04-07 18:56:20
API
konstik360, 2021-04-07 18:56:20

Notifications are not sent to ok mini apps. how to solve?

We have created an application - a survey for users in ok mini apps (similar to vk mini apps).
At the beginning, we ask the user for permission to send notifications, the user agrees, but then, if possible, there is no way to send a message, the answer comes via api

{
"response": [
{
"status": false,
"user_id": 546625539582,
"error": {
"code": 1,
"description": "Notifications are disabled"
}
}
]
}

752133d25d.png

although 100% permission is available, since through the interface we can only unsubscribe from notifications.
That is, the button works, but in fact it is not possible to send a message.

c5edebfd78.png

How to be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question