cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikepsinn <...@git.apache.org>
Subject [GitHub] cordova-plugin-geolocation issue #81: CB-11875 added android.hardware.locati...
Date Thu, 29 Sep 2016 01:54:01 GMT
Github user mikepsinn commented on the issue:

    https://github.com/apache/cordova-plugin-geolocation/pull/81
  
    @stevengill @asfgit @audreyso   Just curios, are you sure we want to add this?  
    
    According to Google, it will "ensure that Google Play only distributes your app to devices
with GPS sensors". 
    
    I'm very well missing something, but it seems like that would make it impossible to use
this plugin in apps that also wish to be made available to non-GPS-containing devices (which
would still be able to get Wi-Fi and Cell-ID based location data).  
    
    I'd love to know what you think!  Thanks!
    
    Here's the email I got:
    Action required: If your app requires GPS hardware to operate properly, you will need
to explicitly add the "android.hardware.location.gps" uses-feature to your manifest.
    
    What’s changing
    
    We’re making a change on October 15th, 2016 that will affect apps targeting API version
21 (Android 5.0, Lollipop) or higher that use ACCESS_FINE_LOCATION but don't explicitly have
the "android.hardware.location.gps" uses-feature. Going forward, these apps will be available
to install on devices that don't have GPS hardware. In most cases this won't be an issue since
Wi-Fi and Cell-ID based location provides high enough fidelity for the typical operation of
these apps. However, any apps that require GPS hardware, such as GPS navigators, should explicitly
add the "android.hardware.location.gps" uses-feature to their manifest.
    
    If your app requires GPS to function properly and you do not include android.hardware.location.gps
in your manifest declaration, your users may have a poor app experience.
    
    Also, if you’re using the fused location provider and wish to receive the most accurate
location samples from GPS (i.e. with PRIORITY_HIGH_ACCURACY), you must include the "android.hardware.location.gps"
feature in your app’s manifest to ensure that Google Play only distributes your app to devices
with GPS sensors.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message