V
V
Vladislav Dmitruk2017-10-25 21:59:44
JavaScript
Vladislav Dmitruk, 2017-10-25 21:59:44

How to find out if the user has allowed PUSH?

Hello!
I need:

  1. Catch the action (whether the user allowed to send him PUSH notifications (supplier - SendPulse).

Can you please tell me how to catch this action?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tema_sun, 2017-10-25
@webdevlix

if (Notification.permission === "granted") {.....}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question