Pratik Butani
1 min readMar 11, 2019

--

As per docs:

getId(): Returns the stable identifier that uniquely identifies this application instance.

getToken(): Returns the token that authorizes performing actions on behalf of this application instance.
For example, this token authorizes sending messages via Firebase Cloud Messaging.

getInstanceId(): Returns the ID and automatically generated token for this Firebase project.
This generates an Instance ID if it does not exist yet, which starts periodically sending information to the Firebase backend (see getId()).

--

--

Pratik Butani
Pratik Butani

Written by Pratik Butani

60k+ Reputation Holder on Stack Overflow | #FlutterDev & #AndroidDev | Engineering Lead @7Span | Contributor | Managing @androidschool

No responses yet