You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure that the app continues to use the existing FCM token if the newly generated FCM token is identical. In this case, the backend API call is not triggered.
Re-register the service worker using the saved token if needed.
The text was updated successfully, but these errors were encountered:
Objective
Implement functionality for handling notification permissions and managing FCM tokens in the application.
Proposed Solutions & Alternatives
Request Notification Permission
Fetch FCM Token
Backend Registration
POST /api/v1/notification/device
Store FCM Token in a Cookie
Prevent Redundant Token Generation
The text was updated successfully, but these errors were encountered: