Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Avoid to refrehs push token when it does not exists yet #213

Merged
merged 2 commits into from
Apr 30, 2018
Merged

Avoid to refrehs push token when it does not exists yet #213

merged 2 commits into from
Apr 30, 2018

Conversation

danielpassos
Copy link
Collaborator

TL:DR Firebase is calling the onTokenRefresh() on the first time we call getToken() forcing the lib to refresh a token how does not exist yet.

Related issues:

@wtrocki
Copy link
Contributor

wtrocki commented Apr 30, 2018

@danielpassos Is starting app enough to verify this or I should send push notification?

@wtrocki
Copy link
Contributor

wtrocki commented Apr 30, 2018

I notice that registration is not saved as before. Debugging that now.

@danielpassos
Copy link
Collaborator Author

@wtrocki I have added a refresh token button in example app

@danielpassos danielpassos merged commit a4d4056 into aerogear:master Apr 30, 2018
@danielpassos danielpassos deleted the AGDROID-808 branch April 30, 2018 15:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants