Flutter Laravel Push Notification without using any third party like(firebase,onesignal..etc)
940
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
Author by
Depressedgirlcode
Updated on January 05, 2023Comments
-
Depressedgirlcode over 1 year
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.
-
Mahi almost 2 yearsI really didn't understand your question. commenting what I did understand. are you trying to make your own push notification server. You need to consider firebase like services.
-
Depressedgirlcode almost 2 yearsyes own push notification from laravel
-
Lebecca almost 2 yearsThis is almost impossible. Since your app will finally come to the background, it cannot maintain a long connection to the server using whatever technologies. You should integrate both your client & service to products like APN or Firebase push notification to achieve this, which offer push notification capability in the OS level.
-
Vishal Zaveri almost 2 yearsI agree with @mahi. But You can use firebase messaging pakage to receive push notifications on flutter side. To send notifications from Bank-end(laravel) you need to call firebase api from your server.
-
Depressedgirlcode almost 2 yearsI cannot used firebase , thats why im in really in trouble
-
-
Depressedgirlcode almost 2 yearsthanks but my problem is connecting flutter and laravel