I need help to build notification functionality 📩, below criteria:
Backend is WordPress
Call an REST API build UI and store it in cache or somewhere.
If there is new data in API(backend), then automatically call API and build UI with new content and show notification for new content.
Currently using flutter_local_notifications package and able to show notification on button click.
What I want to build is.
Even if the app is open/close/terminated, if there is new data posted in backend, the Rest API should automatically trigger on it own fetch new data, build UI and show the notification.
Note: Tried to use onesignal_flutter
Open for all suggestions and help. Thank you 😇
You can use Firebase cloud messaging for Push Notifications.
here is the guide to setup FCM : https://medium.com/inspireui/setup-firebase-cloud-messaging-fcm-push-notification-for-flutter-apps-8c767fe64e54
Related
I have flutter app which data ,I will get through api and there list of appointments data with that data I need to remind user by notification so I tried local notification, background fetch in flutter but not working as expected
Any other proper way to remind notification before appointment time like push notification and i'm using backend C# for writing api
Look into https://github.com/winsw/winsw/releases
A wrapper executable that can run any executable as a Windows service.
I am new to the world of mobile development.
I'm currently using flutter_foreground_task to create the service and push the updates to UI.
The problem I'm having is trying to send data to the service from the UI.
I have tried with MethodChannel EventChannel and I have not been able to achieve it, in the documentation that I have read nothing is mentioned about it.
Example.
By pressing a button I need to send data to the service to notify said action and send data through a websokect.
Example.
By pressing a button I need to send data to the service to notify said action and send data through a websokect.
By chance you could help me by guiding me what I should implement to make that communication.
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.
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
Check out this Awesome Notification Package. This might be helpful for you!
I am learning flutter. I want to create push notification in flutter app using the data from Rest API.
When any data come in API .there should i get push notification. Can i achieve without firebase and let me know the whole process?
If not using firebase, i dont think it will work smooth as using firebase
I think your option is to use local notification, but you must have some mechanism to keep listen to the data from API
But ... I would recommend to use firebase
I am developing an Ionic application, which has a NestJS backend. I want to send push notifications to the user, when he receives a friend request, or something similar, but my main problem is I am not using firebase (which seems to handle them well), I am using Neo4j. Is there a simple way I could handle push notifications in my case?
Also, I am not an expert in push notifications, so I was thinking, is there a way to send a push notification from my NestJS backend, when a certain endpoint/method is executed?
You can send push notification using OneSignal which support Nest you can check this plugin onesignal-api-client-nest
and for ionic you can check the official plugin from here