I need to create notification every day but at different times, the content is all the same but the only difference is the timing. I am using LocalNotification of Ionic Capacitor. Can anyone tell me the optimal way to do this task?
Related
I am developing in flutter a stock market alert app that checks in the background a certain stock price and send a push notification. I used the background_fetch library but that is only able to fetch the price every 15 minutes, and have some reliability issues on ios.
Therefore, I was wondering if there was another way to implement the same feature.
You can try android_alarm_manager package from pub dev, but it is only available for
(you guessed it) android. This will solve the 15 min frequency I hope it works for you. On a side note I also need a function to run when user enters a geofence when app is on background and I still haven't found a solution. Because in my problem it shouldn't run every x minutes but when sth is triggered.
there is this answer of a similar question but on IOS but it work the similar way on android hope this help and i am sorry for this negative answer :(
answer here
Currently I'am working on Flutter App which should act like alarm for different todo lists. I need to set every todo list tile for pushing me notifications every, let's say, 5 hours during a week. And I will probably have a lot of todos, which will have own notification. So I have two questions? Is this possible to apply every notification locally as a group notifications without using FCM.
The second one is about the local notifications limit. I read from this page flutter_local_notifications that iOS has about 60 notificatios limitation for every App. And I can't understand if it's true or not? Maybe I've got it wrong? And what about Android Apps. Have they any notification limits per app?
I'm working on an application notifying Muslims at prayer time. Every day, five different notifications need to be set, notifying the users it's time to pray.
I was able to schedule notifications for one day, but how can I set them every day again? The 5 times need to be changed every day without user interaction or having to open the app.
Is there some kind of callback when the last notification fires, so I can setup notifications for the next day?
One way is to schedule notifications for a week (5*7) if you can get their times correctly , on the basis of that the user may open your app at least once/week
Other way is to make use of background fetch capability where IOS wakes your app to run at any time On the assumption that you re-schedule them for a week from the launch time
I am trying to work out the best way to use local notification in background to run a method to display a notification message from core data, based on due date or upcoming weekly and monthly summary report.
There are two options which I have worked out which is NSTimer and UILocalNotification.
With NSTimer i can run scheduledTimerWithTimeInterval every 24 hours in background to check core data before display local Notification to see if it is on due date, weekly or monthly report. I am not sure if this is best solutions or recommendation?
I have read other posts, they suggestion to use UILocalNotification instead. But they are only limited to 64 notifications per app. Thats ok if I use weekly and monthly which total 64 notifications but it won't work after 1 year unless user active the app also I need to display due date's on the day message as well.
I am thinking maybe after a local notification displayed then the app still in background set new next schedule local notification, but I couldn't work this one out so not sure if this is possible?
Any suggestions on this? Thank you in advance.
I am making small iphone application. In this application I have put 5 time picker to show different timings. Now I want to put reminders or alarms on these 5 particular time. I dont know how to use reminder or alarm functionality. If anyone know please help me.
thanks alot..
Here is a pretty decent tutorial on using local notifications.