diff --git a/README.md b/README.md index f05f593..c360dd5 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,9 @@ In your `AndroidManifest.xml` file, add the following lines in the ` + android:name="androidx.work.impl.foreground.SystemForegroundService" + android:exported="false" + android:foregroundServiceType="dataSync" /> ``` #### Notifications diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index f9016a2..4980059 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + + android:exported="false" + android:foregroundServiceType="dataSync" />