I've followed the instructions for Safari (web push notifications) but see the following js error when visiting the page:

"Unhandled Promise Rejection: Push notification prompting can only be done from a user gesture."

All works fine with Chome and Firefox.

Any ideas ?

 

Thanks

 

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hi David,

    Apologies for the delay. 

    Safari requires the browser opt-in prompt to be trigger by user interaction, and cannot be initiated programmatically without the user clicking a button or a similar action. 

    Is your site set up to automatically present this prompt?

    Jay M.
    Airship Technical Support

    Comment actions Permalink

Please sign in to leave a comment.