NetChain
Member
It might be a simple question, but what is the best practice to send messages addressed only to a particular user?
I've successfully tested delivery Firebase messages to my phone. I've made a test sending program in B4J and an app in B4A and they both work. But I couldn't find any information on how to separate messages per users?
In a production environment, most apps should receive only messages addressed to them. I'm planning on having a user registration/management system using my own web/db servers. So every user of my app would have to register either within the app or on the web (that's not important here), but what's important is that I will have the unique identity for every user of my app. Based on the logic of my business, my application server, running in the cloud will "talk" directly to Firebase when it needs to reach a particular user.
The question is: what would be the best method of sending messages to individual users of my app?
I've successfully tested delivery Firebase messages to my phone. I've made a test sending program in B4J and an app in B4A and they both work. But I couldn't find any information on how to separate messages per users?
In a production environment, most apps should receive only messages addressed to them. I'm planning on having a user registration/management system using my own web/db servers. So every user of my app would have to register either within the app or on the web (that's not important here), but what's important is that I will have the unique identity for every user of my app. Based on the logic of my business, my application server, running in the cloud will "talk" directly to Firebase when it needs to reach a particular user.
The question is: what would be the best method of sending messages to individual users of my app?