删除对 phone gap 和 cordova 中位置的访问权限
Remove access to location in phone gap and cordova
大家好,最近我们在 android 中使用 cordova 创建了一个新应用程序,我们想删除 android.permission.ACCESS_FINE_LOCATION
但我们不知道哪个插件与此权限相关,这是 config.xml
文件:
<!-- PhoneGap core plugins -->
<plugin name="cordova-plugin-splashscreen" source="npm" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreen" value="www/res/screen/android" />
<preference name="SplashMaintainAspectRatio" value="true" />
<plugin name="cordova-plugin-battery-status" source="npm" />
<plugin name="cordova-plugin-device" source="npm" />
<plugin name="cordova-plugin-device-motion" source="npm" />
<plugin name="cordova-plugin-device-orientation" source="npm" />
<plugin name="cordova-plugin-dialogs" source="npm" />
<plugin name="cordova-plugin-file" source="npm" />
<plugin name="cordova-plugin-file-transfer" source="npm" />
<plugin name="cordova-plugin-globalization" source="npm" />
<plugin name="cordova-plugin-inappbrowser" source="npm" />
<plugin name="cordova-plugin-network-information" source="npm" />
<plugin name="cordova-plugin-statusbar" source="npm" />
<plugin name="cordova-plugin-vibration" source="npm" />
<plugin name="cordova-plugin-whitelist" source="npm" />
请帮助我们删除相关插件。谢谢.
您要找的插件是cordova-plugin-device-orientation
。它在其 config.xml
文件中使用 permission ACCESS_FINE_LOCATION
和 ACCESS_COARSE_LOCATION
。
哦,你可以简单地删除cordova-plugin-device-orientation
,这个插件与位置服务有关。希望对您有所帮助 ;)
大家好,最近我们在 android 中使用 cordova 创建了一个新应用程序,我们想删除 android.permission.ACCESS_FINE_LOCATION
但我们不知道哪个插件与此权限相关,这是 config.xml
文件:
<!-- PhoneGap core plugins -->
<plugin name="cordova-plugin-splashscreen" source="npm" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreen" value="www/res/screen/android" />
<preference name="SplashMaintainAspectRatio" value="true" />
<plugin name="cordova-plugin-battery-status" source="npm" />
<plugin name="cordova-plugin-device" source="npm" />
<plugin name="cordova-plugin-device-motion" source="npm" />
<plugin name="cordova-plugin-device-orientation" source="npm" />
<plugin name="cordova-plugin-dialogs" source="npm" />
<plugin name="cordova-plugin-file" source="npm" />
<plugin name="cordova-plugin-file-transfer" source="npm" />
<plugin name="cordova-plugin-globalization" source="npm" />
<plugin name="cordova-plugin-inappbrowser" source="npm" />
<plugin name="cordova-plugin-network-information" source="npm" />
<plugin name="cordova-plugin-statusbar" source="npm" />
<plugin name="cordova-plugin-vibration" source="npm" />
<plugin name="cordova-plugin-whitelist" source="npm" />
请帮助我们删除相关插件。谢谢.
您要找的插件是cordova-plugin-device-orientation
。它在其 config.xml
文件中使用 permission ACCESS_FINE_LOCATION
和 ACCESS_COARSE_LOCATION
。
哦,你可以简单地删除cordova-plugin-device-orientation
,这个插件与位置服务有关。希望对您有所帮助 ;)