简体   繁体   English

如何使用Firebase Cloud Messaging在Adobe Phonegap中执行推送通知

[英]How to perform Push Notification in adobe Phonegap using Firebase Cloud Messaging

Currently I am developing hybrid application using Adobe phonegap. 目前,我正在使用Adobe phonegap开发混合应用程序。 I have created java web based application which contains .html, javascript and css files. 我创建了一个基于Java Web的应用程序,其中包含.html,javascript和css文件。 I have put server side code into cloud. 我已将服务器端代码放入云中。

I have developed hybrid app. 我已经开发了混合应用程序。 but now i have to implement Push Notification in the same application. 但是现在我必须在同一应用程序中实现推送通知。 so i have visited different links for it, but i am confused between either i have to perform it with Android based IDE or Platform or i can directly perform it using Google cloud Messaging or Firebase cloud Messaging. 因此,我为此访问了不同的链接,但我感到困惑之间,要么我必须使用基于Android的IDE或平台来执行它,要么可以直接使用Google Cloud Messaging或Firebase Cloud Messaging执行它。

Is it compulsory to use Android or iOS based Studio or platform? 使用基于Android或iOS的Studio或平台是否必须? Is there any plugins related to push notification? 是否有与推送通知相关的插件?

Give me some suggestions regarding implementing Push notification in hybrid Applcation. 给我一些有关在混合应用中实现推送通知的建议。

You can use FCM and GCM is not available longer. 您可以使用FCM,而GCM不再可用。

So FCM is avialable for both android and ios. 因此,FCM对于android和ios均可用。 For integration you can checkout this repository: 对于集成,您可以签出该存储库:

https://github.com/fechanique/cordova-plugin-fcm

Its very simple and easy integration. 它非常简单容易集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Firebase和Google Cloud Messaging推送通知 - Push Notification using Firebase and Google Cloud Messaging 使用云消息传递Firebase推送通知 - Push notification using cloud messaging firebase firebase 云消息推送通知 - firebase cloud messaging push notification Firebase推送通知云消息传递如何访问附加数据作为通知 - Firebase push notification cloud messaging how to access Additional Data as Notification 使用 Firebase Cloud Messaging 创建每日推送通知 - Create daily push notification using Firebase Cloud Messaging 无法使用 Firebase 云消息传递向 Android 设备发送推送通知 - Unable to send push notification to android device using firebase cloud messaging 在 Android 上使用 Firebase Cloud 的 Adob​​e Phonegap 推送通知 - Adobe Phonegap Push Notifications with Firebase Cloud on Android 使用Firebase云消息传递的通知 - Notification using Firebase cloud Messaging 如何使用 Firebase 云消息在 Twilio 上配置新的服务器密钥以进行推送通知 - How to configure new Server Key on Twilio using Firebase cloud messaging for push notification 我们如何使用Firebase云消息传递(fcm)在Android中发送推送通知来发送图像和图标 - How we can send image and icon by using Firebase cloud messaging(fcm) for push notification in android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM