[Xamarin]Can get tokens, but receive neither push nor silent notifications

87 views
Skip to first unread message

developer softdo inc.

unread,
Apr 25, 2022, 9:21:27 PM4/25/22
to Firebase Google Group

On March 9 or so, I was receiving both push and silent notifications, but on March 22 or so, I stopped receiving tokens and silent notifications. When I created a new project and implemented FCM, I am still not receiving either push or silent notifications, although I can get the tokens.

Has anyone else experienced the same symptoms and solved the problem?

version iPad 15.4.1 Xamarin.Firebase.iOS.CloudMessaging 8.10.0

The library in 4.7.1 was receiving push notifications but not silent notifications; after updating to 8.10.0, both push and silent notifications are no longer being received.

public override void ReceivedRemoteNotification(UIApplication application, NSDictionary userInfo) 
         Console.WriteLine(userInfo);
}

public override void DidReceiveRemoteNotification(UIApplication application, NSDictionary userInfo, Action<UIBackgroundFetchResult> completionHandler) 
         Console.WriteLine(userInfo);
}

public void WillPresentNotification(UNUserNotificationCenter center, UNNotification notification, Action<UNNotificationPresentationOptions>completionHandler) 
         Console.WriteLine(userInfo);
}

Any advice is welcome. Best regards.

Reply all
Reply to author
Forward
0 new messages