Firebase Instance ID provides a unique identifier for each app instance and a mechanism to authenticate and authorize actions (example: sending FCM messages).
Instance ID is stable except when:
- App deletes Instance ID
- App is restored on a new device
- User uninstalls/reinstall the app
- User clears app data
Once an Instance ID is generated, the library periodically sends information about the
application and the device where it's running to the Firebase backend. To stop this, see
To prove ownership of Instance ID and to allow servers to access data or services
associated with the app, call
Public Method Summary
Delete the Instance ID and the data associated with it.
Returns time when instance ID was created.
Returns a stable identifier that uniquely identifies the app instance.
Returns an instance of this class.
Returns the ID and automatically generated token for this Firebase project.