Does firebase store duplicate copy DeviceID that was generated by the app in google cloud server?
App device InstancesIDs are stored in my Database sent by my app. If firebase stores copy of instanceID how would I get it via API.
Does firebase store duplicate copy DeviceID that was generated by the app in google cloud server?
App device InstancesIDs are stored in my Database sent by my app. If firebase stores copy of instanceID how would I get it via API.
2
Answers
As per the documentation on simple and compound queries.
Make sure you call
getDocs
asynchronously.Based on my understanding, you want to get all the tokens generated by your app from server-side. Currently, there’s no API that can retrieve all registration tokens. You should send and store the tokens to your server upon generation (which you’re doing already).