diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 224acb34..368da343 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -87,6 +87,7 @@ android:name="dev.fluttercommunity.plus.androidalarmmanager.RebootBroadcastReceiver" android:enabled="false" android:exported="true" + android:permission="android.permission.RECEIVE_BOOT_COMPLETED" android:directBootAware="true" > diff --git a/pubspec.lock b/pubspec.lock index 4bd3af0a..c9f822a0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -300,10 +300,10 @@ packages: dependency: "direct main" description: name: flutter_boot_receiver - sha256: "7a4acbd4a45487c8a7daf1e9ea3b7ecf734a90ad931a744b492901d3c6a6c83c" + sha256: "0860fa1bc49d050b5d4b70b9d48587adeed52653c99f553b2a2547594e450ed5" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.1.0" flutter_fgbg: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index c33b8061..5864683a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - flutter_boot_receiver: ^1.0.0 + flutter_boot_receiver: ^1.1.0 # flutter_boot_receiver: # path: "../flutter_boot_receiver" intl: ^0.19.0 @@ -32,7 +32,6 @@ dependencies: just_audio: ^0.9.31 awesome_notifications: ^0.9.3 audio_session: ^0.1.13 - # flutter_windowmanager: ^0.2.0 flutter_fgbg: ^0.3.0 move_to_background: ^1.0.2 vibration: ^1.7.6