From b2587729935688f42e016d7337a18e7e3ede8fcd Mon Sep 17 00:00:00 2001 From: toto850105 Date: Wed, 17 Nov 2021 10:14:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20service=20=E6=AC=8A?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - MoBSF描述: A Service is found to be shared with other apps on the device therefore leaving it accessible to any other application on the device. - true: 所以 app 都可以操作 - false: 只限定在同名 app 底下才可以操作 --- android/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index ecb4f21..2c62b1f 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:name=".LocationUpdatesService" android:foregroundServiceType="location" android:enabled="true" - android:exported="true" + android:exported="false" android:permission="" />