I'm developing an application that works on the iPhone through the xamarin.ios with firebase backend. I want Push Notifications FCM Firebase, but I couldn't, I want that code in AppDelegate.cs
For Apple client apps, you can receive notification and data payloads up to 4000 bytes over the Firebase Cloud Messaging APNs interface. To write your client code in Objective-C or Swift, we recommend that you use the FIRMessaging API.
Push notifications are not available in the simulator. They require a provisioning profile from iTunes Connect, and thus are required to be installed on a device.
To implement Push Notifications firebase with xamarin.ios in C#, you can have a try with Xamarin.Firebase.iOS.CloudMessaging.
And there are detailed steps about setting-up-a-firebase-cloud-messaging-client-app-on-ios there.
Code example in AppDelegate
and Sample project
are also available.
Additional, here is document about creating push notification certificates and settings in iOS app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With