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 5 months
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 11 monthsI 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 11 monthsyes own push notification from laravel
-
Lebecca 11 monthsThis 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 11 monthsI 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 11 monthsI cannot used firebase , thats why im in really in trouble
-
-
Depressedgirlcode 11 monthsthanks but my problem is connecting flutter and laravel