diff --git a/mobile/src/main/AndroidManifest.xml b/mobile/src/main/AndroidManifest.xml
index 980ab420..3a2ef675 100644
--- a/mobile/src/main/AndroidManifest.xml
+++ b/mobile/src/main/AndroidManifest.xml
@@ -32,6 +32,7 @@
+
@@ -102,11 +103,13 @@
+ android:foregroundServiceType="location|connectedDevice"
+ tools:ignore="ForegroundServicePermission"/>
+ android:foregroundServiceType="location|connectedDevice"
+ tools:ignore="ForegroundServicePermission"/>
= 33) {
+ service.startForeground(NOTIFICATION_ID, buildNotification(service),
+ ServiceInfo.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE)
+ } else service.startForeground(NOTIFICATION_ID, buildNotification(service))
}
}
fun stopForeground(service: Service) = synchronized(this) {