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

Combine the login and send fcm token in one api call #190

Open
aniri opened this issue Jan 12, 2020 · 0 comments
Open

Combine the login and send fcm token in one api call #190

aniri opened this issue Jan 12, 2020 · 0 comments

Comments

@aniri
Copy link
Member

aniri commented Jan 12, 2020

Send the firebase token on the login call. There is no need for two separate calls.

Use the new login endpoint:
POST ​/api​/v2​/access​/authorize

Send both login info & firebase related info:

{
  "user": "string",
  "password": "string",
  "channelName": "string",
  "fcmToken": "string"
}

Remove the call to POST ​/api​/v1​/notification​/register

@aniri aniri changed the title [Not ready for dev] Combine the login and send fcm token in one api call Combine the login and send fcm token in one api call Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant