Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): get instanceId #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(android): get instanceId #70

wants to merge 1 commit into from

Conversation

m1ga
Copy link
Collaborator

@m1ga m1ga commented Dec 18, 2023

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 馃槃

firebase.core-android-6.1.4.zip

@hansemannn
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants