I have a variable called week. Week value changes with Time. I want to show the background local notification according to week.
e.g Current week is 1. so the notification I want is you are in week 1 etc... Even when app is not open
OneSignal: is a free push notification service for mobile apps. this package self-serve customer engagement solution for Push Notifications, Email, SMS & In-App.
dependencies:
onesignal_flutter: ^3.4.1
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 have a rate alert feature in my app in which the user can set rate alert for both gold and silver price,I am using socket for fetching gold and silver rate,So how can i set push notification in my app when the price is same as the price chosen by the user,how can i listen to the gold rate stream if my app is in background and how to can i compare the rate by user to the current rate
Please help me to sought this out,
I tired Flutter Awsome Package for push notification but the problem is I was not able to schedule notification correctly when the price is same as current live rate in the backgorund.
I think your question is not about Flutter, actually.
You need to transfer this responsibility to your backend. You only need to provide to your database with the Token of the user's device, and the Price and asset he wants to get notification for.
The backend will handle the asset follow-up and, when the price reaches the user preference, you'll use the provided Token to send him a Push Notification.
This way, it will work even though the app is not running in the background
I have initialized pusher_channels_flutter, and works.
How to watch pusher changes to send a push notification to watch changes in the background (when the app is closed).
The layout of the notification is minimalist, app logo + custom text from the pusher. For both mobile platforms!
Like:
Have a flutter_local_notifications possibly to send notifications in the background?
This is my first time doing this, I need some advice.
Have a nice day.
in my flutter project, I used FCM to push notifications and flutter_local_notification to display the received notifications
and I used the "data" payload to read the notification in my app.
and it works fine, but when I send more than one notification only the last one appears in the device tray (For both ios & android).
it seems like the application received only one notification
anything to do so multi notifications could be shown in the tray
I would like to add a feature to my social app, which can send a push notification to a specific user, is he's not active.
For exemple, if the user has not logged in for 7 days: I would like to send him a push notification "Hey, it's been a while since you've logged in! Come see the new posts".
I know how to send a push notification to a specific user (that's not the problem), but I don't know how to create an automatic function which is able to know if the user didn't logged in for 7 days.
Do you know if it is possible ?
Ps: I'm using Firebase.
You can use local notification here which is good solution I guess.
Whenever user open's the app schedule the local notification of after 7 days from current date. ( Make sure to remove previously schedule notification before adding new one. )
In this case if user open the app notification will reschedule automatically else notification will fire based on last schedule of it.
I did this way in one app and it worked as I explained.
I think this feature can be executed on the Front-end side. All you need is about Local Notifications. When the user opens the app, you will create a local notification for next 7 days and delete the old one in case user open the app within 7 days.