-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APNS device token not set before retrieving FCM Token for Sender ID '...'. #202
Comments
Hey and sorry for the late response. Could you please provide a sample project that demonstrates this issue? |
my code to initialise FCM is the same as above, i can receive push notification on iOS 15, but not receiving any push notification on iOS 17. on FCM setting, im using APN Auth Key. I have not tried APN Certificate. anyone having problem like me ? |
I am having the same issue, my client is not generating an fcm token to be used by my server app. My setup is pretty unique I elect to pass the .plist .json information through a socket call from my server so i do not have to hardcode anything in the app (My app is a self contained chat app that different customers use). The main purpose of this is so that our customers can use their own google firebase account Keep in mind all of this worked fine in Xamarin with the legacy libraries. Same firebase account and config files.
the retrieve token fails with Error Domain=com.google.fcm Code=505 "No APNS token specified before fetching FCM Token" |
Hi,
iOS push notifications stopped working and I have not been able to resolve it.
FCM Error: APNS device token not set before retrieving FCM Token for Sender ID '...'. Notifications to this FCM Token will not be delivered over APNS. Be sure to re-retrieve the FCM token once the APNS device token is set.
AWS SNS Error: iOS device token must not be more than 400 hexadecimal characters.
I believe the issue is due the FCM Error mentioned above. I have enabled Background Modes but still fails.
Found that, AWS SNS does not support FCM v1.0 yet so I disabled FCM v1.0 and still get the same errors.
Has anyone had this issue before and if so please help.
My setup:
MauiProgram.cs
AppDelegate.cs
VS Community 2022 v17.7.4
Plugin.Firebase v2.0.5
.NET 6
iOS Target SDK 16.4
The text was updated successfully, but these errors were encountered: