forked from rekabhq/background_locator
-
Notifications
You must be signed in to change notification settings - Fork 95
Stop on app terminate
Valentin Tahon edited this page Jul 12, 2022
·
2 revisions
Add android:stopWithTask="true"
as follow:
<service android:name="yukams.app.background_locator_2.LocatorService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="true"
android:stopWithTask="true"/>
<service android:name="yukams.app.background_locator_2.IsolateHolderService"
android:permission="android.permission.FOREGROUND_SERVICE"
android:exported="true"
android:stopWithTask="true"/>