如何实现推送通知 firebase xamarin.ios c# [英] How implement Push Notifications firebase xamarin.ios c#

查看:31
本文介绍了如何实现推送通知 firebase xamarin.ios c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,该应用程序通过带有 firebase 后端的 xamarin.ios 在 iPhone 上运行.我想要推送通知 FCM Firebase,但我不能,我想要 AppDelegate.cs 中的代码

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

推荐答案

要在 C# 中使用 xamarin.ios 实现 Push Notifications firebase,您可以尝试使用 Xamarin.Firebase.iOS.CloudMessaging.

To implement Push Notifications firebase with xamarin.ios in C#, you can have a try with Xamarin.Firebase.iOS.CloudMessaging.

还有关于setting-up-a-firebase-cloud-messaging-client-app-on-ios 那里.

AppDelegateSample project 中的代码示例也可用.

Code example in AppDelegate and Sample project are also available.

附加,此处 是有关在 iOS 应用中创建推送通知证书和设置的文档.

Additional, here is document about creating push notification certificates and settings in iOS app.

这篇关于如何实现推送通知 firebase xamarin.ios c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆