From cd5a38bb64d0d56f6fbdc01d26c1fa8a8aa8820f Mon Sep 17 00:00:00 2001 From: Hoisel Date: Wed, 7 Apr 2021 19:15:15 -0300 Subject: [PATCH] Add android:foregroundServiceType="location" do service Ref: https://github.com/mauron85/cordova-plugin-background-geolocation/issues/688#issuecomment-772520764 --- plugin.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.xml b/plugin.xml index dd0182b80..2b883d83f 100644 --- a/plugin.xml +++ b/plugin.xml @@ -103,6 +103,7 @@ android:enabled="true" android:exported="false" android:name="com.marianhello.bgloc.LocationService" + android:foregroundServiceType="location" />