We have multiple apps at the same project of firebase like Master, Develop, testing.
And for sure every one of them has different users and we want to send to one ap
Lets say you currently have Apps: A, B, C All registered to:
All you need to do is to register them to another topic individualy for identifying them, like this:
Now you can target the notification to be sent with a condition causing the notification to be targeted specifically to whatever you want, the following example targets notifications to whoever is subscribed to topic: FUN and APPB:
https://fcm.googleapis.com/fcm/send
Content-Type:application/json
Authorization:key=AIzaSyZ-1u...0GBYzPu7Udno5aA
{
"condition": "'FUN' in topics && 'APPB' in topics",
"data": {
"message": "This is a Firebase Cloud Messaging Topic Message!",
}
}
more on this can be found in this Firebase documentation page