{"action":"created","issue":{"url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/132","repository_url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation","labels_url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/132/comments","events_url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/132/events","html_url":"https://github.com/christocracy/cordova-plugin-background-geolocation/issues/132","id":54938937,"number":132,"title":"iOS App Store Rejection - Need to remove persistent geolocation and only use the significant changes API","user":{"login":"cacardinal","id":6414021,"avatar_url":"https://avatars.githubusercontent.com/u/6414021?v=3","gravatar_id":"","url":"https://api.github.com/users/cacardinal","html_url":"https://github.com/cacardinal","followers_url":"https://api.github.com/users/cacardinal/followers","following_url":"https://api.github.com/users/cacardinal/following{/other_user}","gists_url":"https://api.github.com/users/cacardinal/gists{/gist_id}","starred_url":"https://api.github.com/users/cacardinal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cacardinal/subscriptions","organizations_url":"https://api.github.com/users/cacardinal/orgs","repos_url":"https://api.github.com/users/cacardinal/repos","events_url":"https://api.github.com/users/cacardinal/events{/privacy}","received_events_url":"https://api.github.com/users/cacardinal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-01-20T21:00:09Z","updated_at":"2016-03-29T17:53:57Z","closed_at":"2015-01-21T14:24:00Z","body":"I've been in a back and forth with the App Store Review team and they will not allow our application into the app store if it is using persistent geolocation tracking. I've explained to them the behavior of this plugin with no avail. \r\n\r\nApple said that they now only approve which use persistent tracking for directions and mapping applications and that the Significant Changes API will allow us to achieve the functionality we're looking for.\r\n\r\nOur app needs to grab the users location sporadically to check the weather around them for use in a headache risk calculation. We would also like to have the accuracy high enough that we could infer establishments which they are visiting.\r\n\r\nIs it possible to only use the Significant Changes API / significant-change location service with this plugin without having to declare support for location in the UIBackgroundModes key / persistent geolocation tracking?\r\n\r\nDoes anyone have any suggestions on how to achieve this?\r\n"},"comment":{"url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/comments/203025783","html_url":"https://github.com/christocracy/cordova-plugin-background-geolocation/issues/132#issuecomment-203025783","issue_url":"https://api.github.com/repos/christocracy/cordova-plugin-background-geolocation/issues/132","id":203025783,"user":{"login":"jimmont","id":775538,"avatar_url":"https://avatars.githubusercontent.com/u/775538?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmont","html_url":"https://github.com/jimmont","followers_url":"https://api.github.com/users/jimmont/followers","following_url":"https://api.github.com/users/jimmont/following{/other_user}","gists_url":"https://api.github.com/users/jimmont/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmont/subscriptions","organizations_url":"https://api.github.com/users/jimmont/orgs","repos_url":"https://api.github.com/users/jimmont/repos","events_url":"https://api.github.com/users/jimmont/events{/privacy}","received_events_url":"https://api.github.com/users/jimmont/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T17:53:57Z","updated_at":"2016-03-29T17:53:57Z","body":"To prevent the key+value UIBackgroundModes + location being reinserted into the app is it appropriate to **remove** the following from `plugin.xml` (near line 80, [or line 39 in the new -it repo](https://github.com/transistorsoft/cordova-background-geolocation-lt/blob/master/plugin.xml#L39))?\r\n```\r\n        <config-file target=\"*-Info.plist\" parent=\"UIBackgroundModes\">\r\n            <array>\r\n                <string>location</string>\r\n            </array>\r\n        </config-file>\r\n```"}}