react-native-firebase / installations/lib/modular
installations/lib/modular
IdChangeCallbackFn()
IdChangeCallbackFn = (
installationId) =>void
Defined in: installations/lib/modular/index.d.ts:30
IdChangeUnsubscribeFn()
IdChangeUnsubscribeFn = () =>
void
Defined in: installations/lib/modular/index.d.ts:31
deleteInstallations()
deleteInstallations(
installations?):Promise<void>
Defined in: installations/lib/modular/index.d.ts:15
Deletes the Firebase Installation and all associated data.
getId()
getId(
installations):Promise<string>
Defined in: installations/lib/modular/index.d.ts:20
Creates a Firebase Installation if there isn't one for the app and returns the Installation ID.
getInstallations()
getInstallations(
app?):Module
Defined in: installations/lib/modular/index.d.ts:8
Returns an instance of Installations associated with the given FirebaseApp instance.
getToken()
getToken(
installations,forceRefresh?):Promise<string>
Defined in: installations/lib/modular/index.d.ts:25
Returns a Firebase Installations auth token, identifying the current Firebase Installation.
onIdChange()
onIdChange(
installations,callback):IdChangeUnsubscribeFn
Defined in: installations/lib/modular/index.d.ts:38
Throw an error since react-native-firebase does not support this method.
Sets a new callback that will get called when Installation ID changes. Returns an unsubscribe function that will remove the callback when called.
