Expose firebase.iid (Android) and FirebaseInstanceID (iOS) as a JS module.
We have now added the basic get() and delete() methods for instanceId as part of the v4 alpha. More information here: https://github.com/invertase/react-native-firebase/releases/tag/v4.0.0-alpha.1
In the app we're starting, the user would save information about their installation instance. For instance, saving a device name like "Rick's Tablet".
In the past, we've used Parse's InstallationId (essentially the same thing) for Enterprise features where our client needed to manage installations remotely (i.e. deactivating an installation remotely). Although the primary role in Firebase is FCM, we've used IIDs for a variety of device-management tasks in the past. I would love to have access to the Id in its own module, just as its designed in the native SDKs. In fact, I would expect to see it as another line item in the Supported Firebase Features matrix in the README. Currently, it's missing which threw us for a loop when initially looking at RNFB.
We could used a GUID saved on each device , but since Firebase has Instance ID built-in, and it is more feature rich, we would love to use it.
Thanks @Chris Bianca!
@Rick Terrill: Thanks for the detailed explanation, we'll look to incorporate this into our FCM overhaul which we're currently speccing out.
@Rick Terrill I'm curious to understand your use cases here?
We're currently speccing out an FCM overhaul, so could incorporate some of the functionality as part of this.