如何通过门户将天蓝色推送通知发送到Android? [英] How to send azure push notification by portal to Android?

查看:66
本文介绍了如何通过门户将天蓝色推送通知发送到Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是天蓝色的新手,所以我刚开始通过门户发送推送通知,我做了以下步骤,但我却无法在android设备中收到通知,而我却收到了成功通知,结果是:{0通过,0失败),就像在图片下方.

I am new to azure, so i just started with sending push notification by portal, i did below steps and i got fail to get notification in android device while i got success notification with Outtcome:{0 passed, 0 failed) like below picture.

我制作了一个空白的android应用程序,并通过它获得了完美的服务器密钥,因为我通过 http://对其进行了测试pushtry.com/

i made a blank android app and by which i got server key that is perfectly working because i test it by http://pushtry.com/

我该如何解决我的问题,请任何人可以帮助我....

how can i solve my problem please can anyone help me....

推荐答案

是的,您应该按照以下步骤将应用程序连接到通知中心.

Yes, you should follow that steps to connect your app to the notification hub.

当前,Google正在从Google Cloud Messaging(GCM)平台迁移到Firebase Cloud Messaging(FCM).

Currently, Google is migrating from the Google Cloud Messaging (GCM) platform to Firebase Cloud Messaging (FCM).

  • So, first of all, you need to create a new project from Google's Firebase Console.
  • Then add Firebase to your Android app, you can follow the steps in this guide.
  • Then configure a new notification hub.
  • Finally, connect your app to the notification hub.

此时,您可以使用 Azure门户网站向Android应用发送推送通知.

At this point, you can send push notifications to Android app with the Azure portal.

这篇关于如何通过门户将天蓝色推送通知发送到Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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