-
Notifications
You must be signed in to change notification settings - Fork 170
Xamarin.Firebase.IOS.CloudMessaging receive FCM token but notifications not working #418
Comments
I have same problem... notification working in foreground, but not working in background... I enabled remote notification and fetch in the background at info.plist i'm sending json from the notification with "content-available": 1 ... I tried with {
} I followed all these documentation I'm not sure what else I can do |
same here. FMC receives, token can be seen, but notification not receiving. any idea? |
Any advice? |
I think the problem is that apple has changed device token format: https://stackoverflow.com/questions/8798725/get-device-token-for-push-notification The solution is updating FirebaseMessaging.framework to lastest version |
Thanks @lypefm , I have read about enabling "Remote notifications" in "background modes", but I was not aware about the need to enable "fetch in the background" too... I've got more successful results thanks to following configuration : |
Hi All |
Hi,
I'm new in Firebase Cloud Messaging and I trying to use it with our Xamarin.iOS app.
I generate application in Firebase and set all certificates, ids, etc.
Than I add nuget to project, GoogleService-Info.plist, enable Background mode - Remote notification in Entitlements.plist, enable Push notification in Info.plist.
I'm calling method at AppDelegate.FinishedLaunching for init remote notification. Than I get fcm token but if I try send cloud message (Grow - Cloud Messaging) to this token nothing happend on phone. Even if app is running or not.
I don't know what next.
Uninstall and install I tried too.
Next wierd thing that Firebase still notice:
Thanks for your advices.
The text was updated successfully, but these errors were encountered: