Integrate local notifications scheduler for reminders
This commit is contained in:
@@ -30,6 +30,12 @@ class AppConfig {
|
||||
static bool get enableBackgroundSync =>
|
||||
const bool.fromEnvironment('ENABLE_BACKGROUND_SYNC', defaultValue: true);
|
||||
|
||||
/// Enables local notifications runtime for reminder delivery.
|
||||
static bool get enableLocalNotifications => const bool.fromEnvironment(
|
||||
'ENABLE_LOCAL_NOTIFICATIONS',
|
||||
defaultValue: true,
|
||||
);
|
||||
|
||||
/// Interval used for periodic background sync ticks.
|
||||
static int get backgroundSyncIntervalSeconds => const int.fromEnvironment(
|
||||
'BACKGROUND_SYNC_INTERVAL_SECONDS',
|
||||
|
||||
Reference in New Issue
Block a user