We are working with the UA web SDK. We noticed the following behavior:
- User opts in for web notifications (sdk.register())
- User clears local storage
- User resets browser permission
- User refreshes the page
- 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?