Home > Enterprise >  push notification whenever there is a change in database Flutter
push notification whenever there is a change in database Flutter

Time:07-06

I'm getting some data (Product list) from my Database using API (Laravel) and show them inside my app.

I have a form in my app where I can add a new product information and add it to the database .

I want whenever there is a new product added, the app sends a push notification to all the users.

Is there a way to do that ? Thank you.

CodePudding user response:

Yes, there are ways to do that. Search for hints here on stackoverflow or google to find some tutorial that you can follow. If you get stuck, present the specific problem on StackOverflow and you will get help.

Have a look at the "How to ask a question" page to get better help.

CodePudding user response:

First you have to configure your server part(laravel) with a notification service like firebase.

and after, connect and receive a notification whenever the data changes.

you can click here for reference

  • Related