Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Should I call init() every time the app is launched?? #777

Closed
purinagripal opened this issue Apr 4, 2016 · 3 comments
Closed

Should I call init() every time the app is launched?? #777

purinagripal opened this issue Apr 4, 2016 · 3 comments
Labels

Comments

@purinagripal
Copy link

Is that correct or should I call init() only the first time to get the registration_id???

thanks

@purinagripal purinagripal changed the title Should I call init every time the app is launched?? Should I call init() every time the app is launched?? Apr 4, 2016
@macdonst macdonst added the docs label Apr 4, 2016
@macdonst
Copy link
Member

macdonst commented Apr 4, 2016

@purinagripal yes, call init every time. If the reg ID hasn't changed it will just return it. If it has changed you will get the new registration ID.

@purinagripal
Copy link
Author

Thank you

@lock
Copy link

lock bot commented Jun 4, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants