Problem
We are using this library to receive push notifications via Firebase Cloud Messaging (FCM). Occasionally, specific tokens stop receiving notifications even though:
- The token is still considered valid by FCM
- No errors are returned when sending messages
- Other devices continue to receive notifications
- Restarting the app does not resolve the issue
Currently, there is no supported way to:
- Force a token refresh
- Invalidate the existing token
- Request a new registration token
- Re-register the device without clearing app storage
This creates operational issues because affected users silently stop receiving notifications.
Expected Behavior
Provide a public API to refresh or regenerate the FCM token, for example:
await pushReceiver.refreshToken();
or
await pushReceiver.deleteToken();
await pushReceiver.register();
Problem
We are using this library to receive push notifications via Firebase Cloud Messaging (FCM). Occasionally, specific tokens stop receiving notifications even though:
Currently, there is no supported way to:
This creates operational issues because affected users silently stop receiving notifications.
Expected Behavior
Provide a public API to refresh or regenerate the FCM token, for example:
or