Reputation: 197
I'm trying to send a push notification or a message from my IOT button to all the users who have installed my iOS and android app. Is it possible to do it, given that I don't have the user's device tokens with me?
Upvotes: 2
Views: 1492
Reputation: 1
Alternatively(For Send notification without device token to everyone) You can use "Topic"
FirebaseMessaging.getInstance.subscribeToTopic("")
Note: Code for send notification to subscribed you can google it.
This is my first answer. Hope it will help. njy coding.
Upvotes: 0
Reputation: 114
I think it is not possible to send push notification w/o device token. Because IOT does not recognise for which device send push notification.
Upvotes: 1