M mike1967 Active Member Licensed User Longtime User Oct 5, 2023 #1 Hello, itry and modify the samples of b4a firebase push notification with b4jsending tool. It work fine. Now i ask for this question: if i logging into app with google credentials and read the username of the mail and set this as topic of push notification subscription and sending messages the notification is send to only this specified users ? i try modify manually the code and work fine. But i want to know if this method is correct or maybe create complicance in the application. Thanks in advanced
Hello, itry and modify the samples of b4a firebase push notification with b4jsending tool. It work fine. Now i ask for this question: if i logging into app with google credentials and read the username of the mail and set this as topic of push notification subscription and sending messages the notification is send to only this specified users ? i try modify manually the code and work fine. But i want to know if this method is correct or maybe create complicance in the application. Thanks in advanced
Erel B4X founder Staff member Licensed User Longtime User Oct 5, 2023 #2 If you want to send message to a specific user then you have two options: 1. Subscribe the user to a specific topic. 2. Get the user's token id and send it to your server. Later use that token id instead of the topic (the format is a bit different but you will find it). Upvote 0
If you want to send message to a specific user then you have two options: 1. Subscribe the user to a specific topic. 2. Get the user's token id and send it to your server. Later use that token id instead of the topic (the format is a bit different but you will find it).
M mike1967 Active Member Licensed User Longtime User Oct 5, 2023 #3 Erel said: If you want to send message to a specific user then you have two options: 1. Subscribe the user to a specific topic. 2. Get the user's token id and send it to your server. Later use that token id instead of the topic (the format is a bit different but you will find it). Click to expand... Is possible to subscribe to one or plus topic ? Upvote 0
Erel said: If you want to send message to a specific user then you have two options: 1. Subscribe the user to a specific topic. 2. Get the user's token id and send it to your server. Later use that token id instead of the topic (the format is a bit different but you will find it). Click to expand... Is possible to subscribe to one or plus topic ?
josejad Expert Licensed User Longtime User Oct 5, 2023 #4 mike1967 said: Is possible to subscribe to one or plus topic ? Click to expand... Yes, you can subscribe to multiple topics Upvote 0
mike1967 said: Is possible to subscribe to one or plus topic ? Click to expand... Yes, you can subscribe to multiple topics