如果不使用任何第三方(firebase,onsignal..Etc),flutter laravel推动通知
我正在制作一个具有推送通知的移动应用程序,从frontend我使用的是Flutter,后端我将Laravel API和Postgres12用作数据库。我需要发出推送通知,每当数据库更新时,Laravel都会通知新通知的幻影。如何在颤动和拉拉维尔之间建立可靠的联系,并且推送通知将起作用。请帮助我尝试在各处搜索答案,但我找不到可以帮助我解决问题的答案。
I'm making a mobile app that has push notification, from frontend I'm using flutter and backend I'm using laravel api and Postgres12 as database. I need to do a push notification where laravel will notify flutter of new notification whenever the database is updated. How to make a a reliable connection between flutter and laravel and that the push notification will work. Please help I have try searching for answers everywhere but I couldn't find the one that can help me solve the problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更好的是,我理解,您无法制作自己的推送通知服务器。 Firebase和的可用服务并不意味着不可能。
您可以做的是使用诸如 -own-push-notification-service-without-without-fcm-pusher“>链接
Better I understand, you can not make your own push notification server. What you can do is use the available services like firebase and can't doesn't mean impossible.
read this link
查看此很棒的通知软件包。这可能对您有帮助!
Check out this Awesome Notification Package. This might be helpful for you!