{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/ios/issues/370","labels_url":"https://api.github.com/repos/owncloud/ios/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/ios/issues/370/comments","events_url":"https://api.github.com/repos/owncloud/ios/issues/370/events","html_url":"https://github.com/owncloud/ios/issues/370","id":79259662,"number":370,"title":"Location services requirement for photo instant upload","user":{"login":"gbiggs","id":163151,"avatar_url":"https://avatars.githubusercontent.com/u/163151?v=3","gravatar_id":"","url":"https://api.github.com/users/gbiggs","html_url":"https://github.com/gbiggs","followers_url":"https://api.github.com/users/gbiggs/followers","following_url":"https://api.github.com/users/gbiggs/following{/other_user}","gists_url":"https://api.github.com/users/gbiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/gbiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbiggs/subscriptions","organizations_url":"https://api.github.com/users/gbiggs/orgs","repos_url":"https://api.github.com/users/gbiggs/repos","events_url":"https://api.github.com/users/gbiggs/events{/privacy}","received_events_url":"https://api.github.com/users/gbiggs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T03:14:55Z","updated_at":"2015-05-22T14:11:44Z","closed_at":null,"body":"Enabling the instant upload feature requires that the Owncloud client have access to location services. This in turn causes location services to be constantly switched on as the Owncloud client is running in the background.\r\n\r\nLocation services should not be a requirement for instant upload of photos. It should be possible to forbid the Owncloud client from accessing location services and still upload photos taken instantly.\r\n\r\nEither:\r\n- The Owncloud client could automatically detect that no location information is available and skip doing whatever it is doing with the location information before uploading the photo, or\r\n- There could be a setting to choose to do whatever is done with the location information before uploading, and enabling that setting requires permitting access to location services."},"comment":{"url":"https://api.github.com/repos/owncloud/ios/issues/comments/104670062","html_url":"https://github.com/owncloud/ios/issues/370#issuecomment-104670062","issue_url":"https://api.github.com/repos/owncloud/ios/issues/370","id":104670062,"user":{"login":"gbiggs","id":163151,"avatar_url":"https://avatars.githubusercontent.com/u/163151?v=3","gravatar_id":"","url":"https://api.github.com/users/gbiggs","html_url":"https://github.com/gbiggs","followers_url":"https://api.github.com/users/gbiggs/followers","following_url":"https://api.github.com/users/gbiggs/following{/other_user}","gists_url":"https://api.github.com/users/gbiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/gbiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbiggs/subscriptions","organizations_url":"https://api.github.com/users/gbiggs/orgs","repos_url":"https://api.github.com/users/gbiggs/repos","events_url":"https://api.github.com/users/gbiggs/events{/privacy}","received_events_url":"https://api.github.com/users/gbiggs/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T14:11:44Z","updated_at":"2015-05-22T14:11:44Z","body":"What is the location event that is being used to wake up the app in the background? Is it just being used as a timer event? (Does this mean that iOS doesn't have any API to periodically wake up an app that is in the background to perform some processing?)\r\n\r\nCertainly giving up automatic uploads when the app is in the background is an option for users who do not want to have location services switched on, but perhaps we can find a better solution."}}