Hey all, my app with it’s installed cordova plugins results in these permissions in my AndroidManifest.xml:
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="25" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
I want my app to be able to run on ChromeBooks, and it has been suggested that I may need the following resultant lines in my manifest:
<uses-feature android:name="android.hardware.touchscreen" required="false" />
<uses-feature android:name="android.hardware.location.gps" required="false" />
So how might I achieve that result most easily? I’ve already added cordova-custom-config
in pursuit of this goals, added xmlns:android="http://schemas.android.com/apk/res/android"
to the widget element of config.xml, and added the following to the <platform name="android">
section of config.xml:
<config-file parent="/*" target="AndroidManifest.xml">
<supports-screens android:largeScreens="true" android:smallScreens="true" android:xlargeScreens="true" />
</config-file>
Any help / advice would be greatly appreciated!