How to send azure push notification by portal to Android?

泄露秘密 提交于 2019-12-13 17:37:42

问题


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.

enter image description here

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....

|improve this question

回答1:


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

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.

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



来源:https://stackoverflow.com/questions/42534422/how-to-send-azure-push-notification-by-portal-to-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!