Android Question firebase notifications

Tomas Petrus

Active Member
Licensed User
Longtime User
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
 
Top