-1

对于最近的Google Play商店更改会影响使用ACCESS_FINE_LOCATION但未明确拥有“android.hardware.location.gps”使用功能的API版本21(Android 5.0,Lollipop)或更高版本的应用。我可以在配置文件中设置GPS配置的更改吗?

由于是本机应用程序的解决方案:
http://i.stack.imgur.com/Z4Sna.png 但给出的解决方案是对本地应用。我在使用Phonegap构建应用程序时需要混合应用程序的解决方案。我可以在配置文件中做什么改变?

回答

0

尝试使用自定义配置。这是链接。

https://github.com/dpa99c/cordova-custom-config

添加插件,然后复制并粘贴到您的图片的代码。

然后,它会是这样的,

<platform name="android"> 
    <config-file parent="/*" target="AndroidManifest.xml"> 
    <uses-permission android:name="android.hardware.location.gps" /> 
    </config-file> 
</platform> 
相关问题