Android Question Firebase - Android with ios_ prefix

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am using firebase notifications in my app..

I am using both Android and iOS. I understand that in iOS I need to add the prefix ios_ at the start of each topic.

In Android, I don't need to add any prefix.

I understand I need to send 2 requests to firebase, 1 for Android and 1 for iOS so it sends the notification.

The question I have is, can I subscribe Android devices to the ios_ prefix ?

For example, currently:
Android: testing
iOS = ios_testing

Can I just subscribe Android to the topic ios_testing and then I would only need to send 1 request to firebase to send a message?
 

DonManfred

Expert
Licensed User
Longtime User
I do not use iOS but i guess it should work.
 
Upvote 0
Top