-1

If application install in 10 devices then how can FCM notification will send to one of the device.

KENdi
  • 7,576
  • 2
  • 16
  • 31

1 Answers1

1

The easiest way to do that is to send a notification with a topic.

Subscribe the one device to a topic like that: FirebaseMessaging.getInstance().subscribeToTopic("weather");

More information here.

MarkWalczak
  • 1,532
  • 3
  • 16
  • 24