[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ 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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027500#comment-16027500 ] ASF GitHub Bot commented on CB-7754: Github user shazron commented on the issue: https://github.com/apache/cordova-plugin-geolocation/pull/28 @kamendo You'll just have to download the plugin and install it by folder path for now. Cordova@7 dropped support for sub-folders and the plugin has to be migrated > [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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026898#comment-16026898 ] ASF GitHub Bot commented on CB-7754: Github user kamendo commented on the issue: https://github.com/apache/cordova-plugin-geolocation/pull/28 I tried > cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git#master:src/ios/background-location but failed with this error: 'support for subdirectories is deprecated and will be removed in Cordova@7 Error: --fetch does not support subdirectories' > [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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833740#comment-15833740 ] ASF GitHub Bot commented on CB-7754: Github user diegobill commented on the issue: https://github.com/apache/cordova-plugin-geolocation/pull/28 +1 I'm also very interested in Android and iOS support. > [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 >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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083723#comment-15083723 ] ASF GitHub Bot commented on CB-7754: Github user purplecabbage commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-169124917 iOS only. See the issue in JIRA : https://issues.apache.org/jira/browse/CB-7754 > [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 >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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074142#comment-15074142 ] ASF GitHub Bot commented on CB-7754: Github user MrMotski commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-167848233 Is there any update to @Zorgatone's question? I'm also very interested to know the answer. > [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 >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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14802674#comment-14802674 ] ASF GitHub Bot commented on CB-7754: Github user Zorgatone commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-141024728 Any news about this? Is the issue only about iOS? Does it work in background with other platforms? Can I use background location on the available platforms with this plugin (with iOS fix)? > [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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359223#comment-14359223 ] Shazron Abdullah commented on CB-7754: -- sandstrom - I agree, this would be more of a bug/feature request for the CLI component. > [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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ 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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326682#comment-14326682 ] ASF GitHub Bot commented on CB-7754: Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-74966028 The plugin supports geolocation tracking on iOS 8 only when the app is in use. To use it when the app is in the background, you need to install the plugin above. > [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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322578#comment-14322578 ] ASF GitHub Bot commented on CB-7754: Github user michaelkrog commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-74481492 @shazron can you helpt me out? I'm a bit confused. Does cordova-plugin-geolocation currently have background location support or does it not? > [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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165837#comment-14165837 ] ASF GitHub Bot commented on CB-7754: Github user shazron commented on the pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28#issuecomment-58585067 Adding it to this repo because it logically belongs here. Either here, or the cordova-plugins repo. I would not expect this sub-plugin to be "released" like the other plugins since it will never change, but installable by git url in the meantime: ```cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git#master:src/ios/background-location ``` We could release it **once** and that's all that is needed. > [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
[jira] [Commented] (CB-7754) [Geolocation] Support Background Location tracking
[ https://issues.apache.org/jira/browse/CB-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165830#comment-14165830 ] ASF GitHub Bot commented on CB-7754: GitHub user shazron opened a pull request: https://github.com/apache/cordova-plugin-geolocation/pull/28 CB-7754 - [Geolocation] Support Background Location tracking You can merge this pull request into a Git repository by running: $ git pull https://github.com/shazron/cordova-plugin-geolocation CB-7754 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-geolocation/pull/28.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #28 commit 8e2d0728a477ce6a4b0b2aa70d38322aa40d8ee9 Author: Shazron Abdullah Date: 2014-10-09T21:56:34Z CB-7754 - [Geolocation] Support Background Location tracking > [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