You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to schedule daily local push notifications on my flutter iOS app. When I call my daily schedule function, it doesn't consistently schedule notifications daily and also at the same time every day.
To Reproduce
Clone the repository
Checkout branch 99f0601
Run the app by running flutter run (make sure you have an iOS Xcode simulator for iPhone with iOS 18.1 installed.
Once app is loaded, scroll down to the very bottom and switch the toggle switch on that says "Schedule notifications for 14 days".
I'm calling dNotifs in services/scheduleNotifications.dart in my home.dart file. The dNotifs is at the very bottom of my code in my home.dart that will schedule a notification daily.
Expected behavior
The expected behavior is that it would schedule a daily notification consistently. What I would also like to happen is to schedule the notification at whatever time the user would like and to schedule it daily for 14 days.
Describe the bug
I'm trying to schedule daily local push notifications on my flutter iOS app. When I call my daily schedule function, it doesn't consistently schedule notifications daily and also at the same time every day.
To Reproduce
Expected behavior
The expected behavior is that it would schedule a daily notification consistently. What I would also like to happen is to schedule the notification at whatever time the user would like and to schedule it daily for 14 days.
Sample code to reproduce the problem
go to https://www.github.com/benj12/testapp to fork this repository.
For the dNotifs function, go to https://github.com/benj12/testapp/blob/99f060185d1f5c54a171114bc031d616a8f39c76/lib/services/schedule_notifications.dart#L65C3-L74C4
The text was updated successfully, but these errors were encountered: