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

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

Github user kamendo commented on the issue:

    https://github.com/apache/cordova-plugin-geolocation/pull/28
  
    @shazron, just FYI - I ended up adding a custom plugin and swizzle the iOS 
method in order to get the location working in background :)
    
     
https://github.com/stefanminch/background-location-app/blob/master/src/ios/BackgroundProcess.m


> [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: cordova-plugin-geolocation
>         Environment: iOS
>            Reporter: 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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to