【发布时间】:2017-08-07 14:37:25
【问题描述】:
当来源是 Azure 时,我通过 Azure 通知中心接收通知时遇到问题。我按照本教程的步骤进行操作: https://developer.xamarin.com/guides/android/application_fundamentals/notifications/remote-notifications-with-fcm/
此时,在出现一些 nuget 依赖冲突问题后,我通过 Firebase 控制台正确收到了通知。但是,Azure 通知中心的“测试发送”选项似乎发送了消息,但设备没有收到通知。
按照其他教程使用 FCM 服务发送 Azure 通知 https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started,某些步骤在 Xamarin.Android 中似乎无法实现,例如在 build.gradle 中添加依赖项。
如何将这些更改合并到 Xamarin.Android 项目中?
【问题讨论】:
标签: azure xamarin notifications xamarin.android azure-notificationhub