From 7dbf3ac10244716b6247608d0a2e5d1d80f396df Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Tue, 1 Jul 2025 15:05:26 -0400 Subject: [PATCH] Try using foreground tasks for reliability --- .flutter | 2 +- android/app/src/main/AndroidManifest.xml | 9 + .../res/drawable-hdpi/ic_notification.png | Bin 0 -> 965 bytes .../res/drawable-mdpi/ic_notification.png | Bin 0 -> 843 bytes .../res/drawable-xhdpi/ic_notification.png | Bin 0 -> 1530 bytes .../res/drawable-xxhdpi/ic_notification.png | Bin 0 -> 2719 bytes .../res/drawable-xxxhdpi/ic_notification.png | Bin 0 -> 4074 bytes lib/main.dart | 256 +++++++++++------- pubspec.lock | 26 +- pubspec.yaml | 1 + 10 files changed, 186 insertions(+), 108 deletions(-) create mode 100644 android/app/src/main/res/drawable-hdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-mdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xhdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xxhdpi/ic_notification.png create mode 100644 android/app/src/main/res/drawable-xxxhdpi/ic_notification.png diff --git a/.flutter b/.flutter index 6fba244..fcf2c11 160000 --- a/.flutter +++ b/.flutter @@ -1 +1 @@ -Subproject commit 6fba2447e95c451518584c35e25f5433f14d888c +Subproject commit fcf2c11572af6f390246c056bc905eca609533a0 diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6400b9b..0bd0614 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -61,6 +61,13 @@ android:enabled="true" android:exported="true" android:permission="android.permission.INTERACT_ACROSS_USERS_FULL" /> + + @@ -74,6 +81,8 @@ android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" /> + +