diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index d519056..a25330d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -30,8 +30,7 @@ + android:exported="true" /> = Build.VERSION_CODES.O) { + // For Android 11 (API level 30) or later context.startForegroundService(serviceIntent) } else { context.startService(serviceIntent)