We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
androidAllowWhileIdle
1 parent 6863dc0 commit 9f4d30aCopy full SHA for 9f4d30a
lib/common/services/notifications.dart
@@ -95,7 +95,8 @@ class NotificationHelper {
95
'Sudah waktunya untuk $title',
96
convertTime(hour, minutes),
97
getDetails(sound, title),
98
- androidAllowWhileIdle: true,
+ // androidAllowWhileIdle: true,
99
+ androidScheduleMode: AndroidScheduleMode.exactAllowWhileIdle,
100
uiLocalNotificationDateInterpretation: UILocalNotificationDateInterpretation.absoluteTime,
101
matchDateTimeComponents: DateTimeComponents.dateAndTime,
102
payload: 'It could be anything you pass',
0 commit comments