简体   繁体   English

使用 flutter 推送通知

[英]Push Notification using flutter

I want to ask about the best way for push notification by using flutter and node.js API I used some of libraries but this libraries when I forced turn off app the notification does not receive and sometimes even app work the notification does not receive directly and I do not use firebase so I want the best ways to make the notification received directly when I push notifications even the app is closed or forced closed and it will be good if you have tutorial about that我想询问使用 flutter 和 node.js API 进行推送通知的最佳方式不使用 firebase 所以我想要最好的方法在我推送通知时直接收到通知,即使应用程序已关闭或强制关闭,如果你有关于它的教程会很好

One Signal is good for push notification within your needs. One Signal 适用于您需要的推送通知。 Here's some links:这里有一些链接:
Flutter setup: https://documentation.onesignal.com/docs/flutter-sdk-setup Flutter 设置: https://documentation.onesignal.com/docs/flutter-sdk-setup
API documentation: https://documentation.onesignal.com/docs/onesignal-api API 文档: https://documentation.onesignal.com/docs/onesignal-api

You follow this.This is using Firebase Cloud Messaging .你跟着这个。这是使用Firebase Cloud Messaging

Setup Link: https://firebase.flutter.dev/docs/messaging/overview/设置链接: https://firebase.flutter.dev/docs/messaging/overview/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM