Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register FCM Token For The Device For Every Successful Login #1

Open
chaiwa-berian opened this issue May 30, 2019 · 0 comments
Open

Comments

@chaiwa-berian
Copy link
Member

To ensure the user receives notifications to whatever device they login into, send a request to the server to register the Firebase Cloud Messaging Token(FCM Token) for the device.

If the FCM token gets revoked(either via the web interface or fcm console), server should notify clients. Client should run service(background recommended) to re-submit the new token for the authenticated user.

Client UI can show whether server notifications are on or off for a given device(i.e. whether the device's fcm token is registered or not):- This way the user can be able to force-resubmit the token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant