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 2019/06/12 14:11:58 UTC

[GitHub] [cordova-plugin-geolocation] breautek edited a comment on issue #86: Add required=false to the uses-feature

breautek edited a comment on issue #86: Add required=false to the uses-feature
URL: https://github.com/apache/cordova-plugin-geolocation/pull/86#issuecomment-501291717
 
 
   > Noone in here really explained what exactly the problem is that this changes solves - could someone please explain when this is useful and why? How does the plugin work without GPS being present?
   
   In Android Manifest, if the app is defined to use the GPS feature, and it has `required=true` then that tells Google that the phone __must__ have GPS hardware on their phone to use the app.
   
   `required=false` will allow the app to be installed on an android device without GPS hardware, which allows apps to be more flexible, such as supporting customers without GPS hardware, but provide a better experience for users who do have GPS hardware under the same app. Obviously the app itself would have to determine if GPS hardware is available before using GPS features.

----------------------------------------------------------------
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