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

Share:
940
Depressedgirlcode
Author by

Depressedgirlcode

Updated on January 05, 2023

Comments

  • Depressedgirlcode
    Depressedgirlcode 2 minutes

    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
      Mahi 6 months
      I 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
      Depressedgirlcode 6 months
      yes own push notification from laravel
    • Lebecca
      Lebecca 6 months
      This 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
      Vishal Zaveri 6 months
      I 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
      Depressedgirlcode 6 months
      I cannot used firebase , thats why im in really in trouble
  • Depressedgirlcode
    Depressedgirlcode 6 months
    thanks but my problem is connecting flutter and laravel