You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/06 12:47:40 UTC
[GitHub] [cordova-plugin-geolocation] sithwarrior opened a new issue #187:
Cant install App on Android devices without GPS hardware
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova-plugin-geolocation] breautek closed issue #187: Cant
install App on Android devices without GPS hardware
Posted by GitBox <gi...@apache.org>.
breautek closed issue #187: Cant install App on Android devices without GPS hardware
URL: https://github.com/apache/cordova-plugin-geolocation/issues/187
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org