Android Question 2 Apps connected to same Firebase project.

janderkan

Well-Known Member
Licensed User
Longtime User
I have integrated Firebase messaging i 2 Arduino projects and an Android project.
Works fine.
Then I added an new Android App to the same Firebase project.
After installing the second App to the same phone, it messaging stopped.
I noticed that the FCM Server Key is the same in both Apps
and the additions in the Manifest is the same.

Question is:
2 Apps with different Package names on the same phone and both package names in the same Firebase project, will it work?
 

DonManfred

Expert
Licensed User
Longtime User
You download a json-file for your Project.
The json contains all Apps in this project.
The Firebasecode in the manifest fetches the app with the right packagename.

In my understanding it should work. I too have multiple Apps in a Project and all of them are running on my Device.
 
Upvote 0

janderkan

Well-Known Member
Licensed User
Longtime User
You download a json-file for your Project.
The json contains all Apps in this project.
The Firebasecode in the manifest fetches the app with the right packagename.

In my understanding it should work. I too have multiple Apps in a Project and all of them are running on my Device.

THANK YOU so much, I will look somewhere else.
 
Upvote 0
Top