FCM messages going to all devices even when a single device's Token is entered

JamesLaveryJamesLavery ✭✭✭✭✭GBBeta, University ✭✭✭✭✭

When sending test messages from the FCM Console, even if I enter a single device's token using 'Test Device', the message is going to all my devices with the app installed.

Is this a known bug?

I know this is not Xamarin-specific - but people here may have used FCM and have experienced this!

Best Answer

  • JamesLaveryJamesLavery ✭✭✭✭✭ GB ✭✭✭✭✭
    Accepted Answer

    I was using the wrong token - I was using the APNS token, not the FCM token.

    When using

    Xamarin.Firebase.iOS.CloudMessaging

    the FCM token is retrieved from

    Messaging.SharedInstance.FcmToken

Answers

  • JamesLaveryJamesLavery ✭✭✭✭✭ GBBeta, University ✭✭✭✭✭
    Accepted Answer

    I was using the wrong token - I was using the APNS token, not the FCM token.

    When using

    Xamarin.Firebase.iOS.CloudMessaging

    the FCM token is retrieved from

    Messaging.SharedInstance.FcmToken

Sign In or Register to comment.