You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could subscribe to devices in general or to a specific detector on this device (e.g. /devices/:device-id or /devices/:device-id/:detector). This way we can send only one notification and FCM will send it to all subscribed devices.
This info needs to be stored in both FCM and Firebase db, so that we can show state of each subscription.
We could subscribe to devices in general or to a specific detector on this device (e.g.
/devices/:device-id
or/devices/:device-id/:detector
). This way we can send only one notification and FCM will send it to all subscribed devices.This info needs to be stored in both FCM and Firebase db, so that we can show state of each subscription.
More info how to subscribe a device to a topic: https://developers.google.com/instance-id/reference/server#create_relationship_maps_for_app_instances (Instance ID is the token we get from Firebase on the client).
The text was updated successfully, but these errors were encountered: