[ 
https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358371#comment-14358371
 ] 

ASF GitHub Bot commented on CB-7754:
------------------------------------

Github user sandstrom commented on the pull request:

    
https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-78448058
  
    Any existing value for `NSLocationAlwaysUsageDescription ` in the plist 
gets overwritten with an empty string. This makes it harder to provide a custom 
description (which is the purpose of the string, btw).
    
    Don't know if the plugin facility allows, but if it could handle this 
'softly', e.g. only add the key to the plist unless it already exists, that 
would solve it.


> [Geolocation] Support Background Location tracking
> --------------------------------------------------
>
>                 Key: CB-7754
>                 URL: https://issues.apache.org/jira/browse/CB-7754
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin Geolocation
>         Environment: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> Add NSLocationAlwaysUsageDescription in Info.plist
> The reason why we don't add this by default is, not all devs need this 
> capability, and including it by default might scare off their users.
> The previous plugin implementation (before iOS 8) only required foreground 
> access, so that's why the current plugin only supports foreground access.
> The way to add this functionality is to add a sub-plugin in the same plugin, 
> which only installs the required Info.plist key.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to