Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 79144

Not able to register FCM/APNS token of firebase cloud messaging on Xamarin forms for iOS

$
0
0

I need to register FCM token to APNS which I have tried using below configurations and methods. I have configured firebase properly sent test messages to all the users and it works fine. but when I try to get installation id, either it doesn't give me the id or received id doesn't work. I have tried to use APNS token, FCM token and Device token (object of NSData) in RegisteredForRemoteNotifications method which is received in the parameter and also added DidReceiveRegistrationToken method. I also tried mapping APNS token with above 2 tokens but didn't work. I also tried to enable and disable Swizzling.

Messaging.SharedInstance.ApnsToken = DeviceToken;
Messaging.SharedInstance.ApnsToken = Messaging.SharedInstance.FcmToken;

I am attaching AppDelegate file for the reference


Viewing all articles
Browse latest Browse all 79144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>