0

I am referencing from the following link to achieve push notification, but how can I get the device Id? I put my mobile MMID as device ID but it's not working. Do I need to register my android mobile on firebase or need to install firebase package to get the registerID?

Send push to Android by C# using FCM (Firebase Cloud Messaging)

Any suggestions would be appreciated.

AL.
  • 36,815
  • 10
  • 142
  • 281
user3631797
  • 35
  • 1
  • 6

1 Answers1

2

The deviceId refers to the Registration Token:

An ID generated by the FCM SDK for each client app instance. Required for single device and device group messaging. Note that registration tokens must be kept secret.

which is generated on the client side, in your case, Android. You'll have to Setup your Android App to generate the token and receive messages. Also see the possible duplicate post.

AL.
  • 36,815
  • 10
  • 142
  • 281