T Tomas Petrus Active Member Licensed User Longtime User May 12, 2025 #1 Hey guys, I am implementing firebase notifications. And I need some clarifications before making any mistakes: Firstly I assumed that in order to send push notification trough firebase the user have to be authentificated in and through the firebase and also visible in firebase console in auth users. But is seems that it is not true. Once I have device token and app is instaled on the device the user recieve individual notifications Also when the device user is subscribed to the topic he recieve general notifications on the topic Do I get the logic right and notifications have nothing to do with auth users in firebase ? ATM I have multiple aplications grouped in one firebase project I thought that I will have to migrate the apps to separate projects to be able to handle notifications but it seems painfull and false for general and app wise notifications I can use on the app start -- subscribe to "APPNAME-general" topic and then in the same project I can target different apps based on channel-topic name For sending notfications I use c# nugged in our API backend. And after few tests it seems to be working as I described it here. Am I right ? Is there any problems in my logic ? Did I miss anything ? For future apps I intend to do separate project for each app it seems easier, but now we have what we have.. So is this the correct and viable solution ? Any ideas or recomendations ? Thanks
Hey guys, I am implementing firebase notifications. And I need some clarifications before making any mistakes: Firstly I assumed that in order to send push notification trough firebase the user have to be authentificated in and through the firebase and also visible in firebase console in auth users. But is seems that it is not true. Once I have device token and app is instaled on the device the user recieve individual notifications Also when the device user is subscribed to the topic he recieve general notifications on the topic Do I get the logic right and notifications have nothing to do with auth users in firebase ? ATM I have multiple aplications grouped in one firebase project I thought that I will have to migrate the apps to separate projects to be able to handle notifications but it seems painfull and false for general and app wise notifications I can use on the app start -- subscribe to "APPNAME-general" topic and then in the same project I can target different apps based on channel-topic name For sending notfications I use c# nugged in our API backend. And after few tests it seems to be working as I described it here. Am I right ? Is there any problems in my logic ? Did I miss anything ? For future apps I intend to do separate project for each app it seems easier, but now we have what we have.. So is this the correct and viable solution ? Any ideas or recomendations ? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 13, 2025 #2 1. There is indeed no relation between notifications and authentication. 2. There is no such thing "general notifications". Each notification is sent with a topic. Multiple users can be subscribed to the same topic. Upvote 0
1. There is indeed no relation between notifications and authentication. 2. There is no such thing "general notifications". Each notification is sent with a topic. Multiple users can be subscribed to the same topic.