diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index a538285..7d50625 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -55,7 +55,7 @@
-
+
diff --git a/lib/service/LocalNotificationService.dart b/lib/service/LocalNotificationService.dart
index 4736eec..2aaa63e 100644
--- a/lib/service/LocalNotificationService.dart
+++ b/lib/service/LocalNotificationService.dart
@@ -272,5 +272,10 @@ class LocalNotificationService {
actions: actions,
);
}
+
+ void requestPermissions() {
+ AndroidFlutterLocalNotificationsPlugin? nativePlugin = _flutterLocalNotificationsPlugin.resolvePlatformSpecificImplementation();
+ nativePlugin?.requestExactAlarmsPermission();
+ }
}
diff --git a/lib/ui/PersonalTaskLoggerScaffold.dart b/lib/ui/PersonalTaskLoggerScaffold.dart
index 29381d8..5e16165 100644
--- a/lib/ui/PersonalTaskLoggerScaffold.dart
+++ b/lib/ui/PersonalTaskLoggerScaffold.dart
@@ -148,6 +148,7 @@ class PersonalTaskLoggerScaffoldState extends State
DueScheduleCountService().gather();
});
+ _notificationService.requestPermissions();
}
PageScaffold getSelectedPage() {
diff --git a/metadata/en-US/changelogs/10702.txt b/metadata/en-US/changelogs/10702.txt
new file mode 100644
index 0000000..d572a19
--- /dev/null
+++ b/metadata/en-US/changelogs/10702.txt
@@ -0,0 +1,2 @@
+* Fix Schedule notification bug #79
+* (Upgrade target version and dependencies)
\ No newline at end of file
diff --git a/pubspec.yaml b/pubspec.yaml
index 2925992..8dc5751 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 1.7.1+10701
+version: 1.7.2+10702
environment:
sdk: ">=3.4.0"