rlamasb / Firebase.Xamarin

Light weight wrapper for Firebase Realtime Database REST API.
MIT License
149 stars 39 forks source link

Get token for individual sending (IOS) #51

Open Cheelax opened 6 years ago

Cheelax commented 6 years ago

Hello, I am trying at the moment to send a notification to a specific iphone device. I succeed sending the notification in broadcast using group id (unique identifier for app). I am now trying to send a notification to a specific device using FCM token. I tried getting the token using this code: public override void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken) { var DeviceToken = deviceToken.Description; }

but it looks like it's not the token needed. Here is the place where the token is asked: https://ibb.co/ejr66o How can I get the good token? Thank you.