Entry point for Firebase installations.
The Firebase installations service:
| Task<Void> |
delete()
Call to delete this Firebase app installation from the Firebase backend.
|
| Task<String> |
getId()
Returns a globally unique identifier of this Firebase app installation.
|
| static FirebaseInstallations |
getInstance()
Returns the
FirebaseInstallations initialized with the default FirebaseApp. |
| static FirebaseInstallations |
getInstance(FirebaseApp app)
Returns the
FirebaseInstallations initialized with a custom FirebaseApp. |
| Task<InstallationTokenResult> |
getToken(boolean forceRefresh)
Returns a valid authentication token for the Firebase installation.
|
Call to delete this Firebase app installation from the Firebase backend. This call may cause Firebase Cloud Messaging, Firebase Remote Config, Firebase Predictions, or Firebase In-App Messaging to not function properly.
Returns a globally unique identifier of this Firebase app installation. This is a url-safe base64 string of a 128-bit integer.
Returns the FirebaseInstallations initialized with the default FirebaseApp.
FirebaseInstallations instance
Returns the FirebaseInstallations initialized with a custom FirebaseApp.
| app | a custom FirebaseApp |
|---|
FirebaseInstallations instance
Returns a valid authentication token for the Firebase installation. Generates a new token if one doesn't exist, is expired, or is about to expire.
Should only be called if the Firebase installation is registered.
| forceRefresh | Options to get an auth token either by force refreshing or not. |
|---|