titanium-firebase-core icon indicating copy to clipboard operation
titanium-firebase-core copied to clipboard

feat(android): get instanceId

Open m1ga opened this issue 6 months ago • 1 comments

Use

FirebaseCore.addEventListener("instanceId", function(e) {
	console.log("instanceId: " + e.value);
})
FirebaseCore.getInstanceId();

to receive the installation ID.

https://firebase.google.com/docs/projects/manage-installations#java_2 (iOS version would be there too).

Don't know if we already have this in a different module or not :smile:

firebase.core-android-6.1.4.zip

m1ga avatar Dec 18 '23 20:12 m1ga

We actually have it in Firebase Analytics (Android, iOS), but if it makes sense, we can move it to here as well.

hansemannn avatar Dec 19 '23 08:12 hansemannn