sithwarrior opened a new issue #187: Cant install App on Android devices without GPS hardware URL: https://github.com/apache/cordova-plugin-geolocation/issues/187 # Bug Report Cant install App on Android devices without GPS hardware, as it is required in the manifest, because of this plugin ## Problem Cant install App on devices without GPS hardware ### What is expected to happen? Should be able to install the app on all Devices ### What does actually happen? Cant install App on devices without GPS hardware ## Information Cant install App on devices without GPS hardware, as it is required in the manifest, because of this plugin ### Command or Code The uses-feature, is not set as optional, so apps with this plugin, can not be installed on Android. **Plugin.xml** `<config-file target="AndroidManifest.xml" parent="/*"> <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" /> </config-file>` It could be fixed by setting **android.hardware.location.gps** to optional with this command `<uses-feature android:name="android.hardware.location.gps" android:required="false" />` ### Environment, Platform, Device Android Lenovo E7 With Android Go ### Version information Latest ## Checklist - [x] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org