Yes. You can call the registerForPushNotifications() method every time the app starts. If the user already gave permission, the SDK does not show any new pop-ups. Instead, it checks the current token and updates the device information on the server. If a user turned off notifications in their system settings, the SDK detects this change and updates the backend so you do not try to send messages to an inactive device. Running this method on startup keeps your push tokens and user data accurate.
Comments
0 comments
Please sign in to leave a comment.