carp.sensing-flutter
carp.sensing-flutter copied to clipboard
Long-term triggers on App Tasks
There is a need to support long-term triggers for e.g. adding tasks to the app task queue.
Scenarios
- recurrent scheduled trigger, like once pr. day or once pr week
- delayed trigger - e.g. after 2 weeks, once or recurrent, specify a delay (duration)
- timed trigger - specific date (24/12)
- random trigger - N times a day within a time period
- recurrent conditional trigger - check a condition on a regular interval
.. and a combination of such triggers?
- a delayed recurrent trigger
- recurrent conditional trigger
- timed recurrent trigger - first occurrence
Persistence
How to make sure this happens even if the app is not running.....?
iCal resources:
- https://en.wikipedia.org/wiki/ICalendar
- https://web.archive.org/web/20090117151655/http://wiki.modularity.net.au/ical4j/index.php?title=Main_Page
Flutter resources:
- https://pub.dev/packages/android_alarm_manager_plus
- https://pub.dev/packages/device_calendar
- https://pub.dev/packages/background_fetch
- https://pub.dev/packages/flutter_local_notifications
Look into this: WWDC 2020 - Background execution demystified
Released with version 0.40.0.