【问题标题】:Xamarin.Android push notifications GCM to Azure Notification HubXamarin.Android 将通知 GCM 推送到 Azure 通知中心
【发布时间】:2015-12-11 08:57:19
【问题描述】:

我有一个使用this Xamarin guide 为 GCM 配置的 Xamarin.Android 应用程序 该应用程序能够以这种方式接收通知。 但是,当我将 GCM API 密钥放入通知中心并通过 Azure 发送通知时,应用程序中没有收到通知。

应用向 GCM 注册。我需要注册 Azure 通知中心吗?如果是,怎么做?

【问题讨论】:

    标签: android azure google-cloud-messaging xamarin.android xamarin.forms


    【解决方案1】:

    找到了解决方案。我也必须注册 Azure 通知中心。 如果有人被卡住,请按照以下步骤操作:

    https://azure.microsoft.com/en-us/documentation/articles/partner-xamarin-notification-hubs-android-get-started/

    或者,按照此处 Xamarin 的“Azure 消息传递”组件中给出的示例进行操作: https://components.xamarin.com/gettingstarted/azure-messaging

    【讨论】:

      猜你喜欢
      • 2018-04-28
      • 1970-01-01
      • 2015-03-08
      • 2019-08-25
      • 2017-06-05
      • 2021-08-03
      • 1970-01-01
      • 1970-01-01
      • 2016-12-11
      相关资源
      最近更新 更多