Browser prompt is triggered after clear local storage, cookies and reload

We are working with the UA web SDK. We noticed the following behavior:
  1. User opts in for web notifications (sdk.register())
  2. User clears local storage
  3. User resets browser permission
  4. User refreshes the page
  5. User automatically gets the browser prompt to opt-in for notifications without any of our code calling the register method
Debugging the sdk code we noticed there’s a heartbeat method that calls the register method automatically as you can see in the attached screenshot. Can you explain why this happens? Is it a feature or should it be considered as a bug?

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hi Jose,

    Thank you for contacting the support.

     

    Could you please send me your website url so I can reproduce this behavior?

     

    Best regards,

    Comment actions Permalink
    0

Please sign in to leave a comment.