如果不使用任何第三方(firebase,onsignal..Etc),flutter laravel推动通知

发布于 2025-02-12 07:28:40 字数 182 浏览 0 评论 0原文

我正在制作一个具有推送通知的移动应用程序,从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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

允世 2025-02-19 07:28:40

更好的是,我理解,您无法制作自己的推送通知服务器。 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

雨的味道风的声音 2025-02-19 07:28:40

查看此很棒的通知软件包。这可能对您有帮助!

Check out this Awesome Notification Package. This might be helpful for you!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文