{"comment":{"url":"https://api.github.com/repos/senseobservationsystems/sense-ios-library/comments/11473199","html_url":"https://github.com/senseobservationsystems/sense-ios-library/commit/c916b689b1edb52c2b0633bd78edce9b342b9b24#commitcomment-11473199","id":11473199,"user":{"login":"jorishjanssen","id":5357516,"avatar_url":"https://avatars.githubusercontent.com/u/5357516?v=3","gravatar_id":"","url":"https://api.github.com/users/jorishjanssen","html_url":"https://github.com/jorishjanssen","followers_url":"https://api.github.com/users/jorishjanssen/followers","following_url":"https://api.github.com/users/jorishjanssen/following{/other_user}","gists_url":"https://api.github.com/users/jorishjanssen/gists{/gist_id}","starred_url":"https://api.github.com/users/jorishjanssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorishjanssen/subscriptions","organizations_url":"https://api.github.com/users/jorishjanssen/orgs","repos_url":"https://api.github.com/users/jorishjanssen/repos","events_url":"https://api.github.com/users/jorishjanssen/events{/privacy}","received_events_url":"https://api.github.com/users/jorishjanssen/received_events","type":"User","site_admin":false},"position":6,"line":670,"path":"sense platform/sensors/CSSpatialProvider.m","commit_id":"c916b689b1edb52c2b0633bd78edce9b342b9b24","created_at":"2015-06-02T11:04:49Z","updated_at":"2015-06-02T11:04:49Z","body":"@Tubyhes maybe this could actually better be done in the CSSensor to track whether at least one sensor is enabled and if at least one sensor is enabled we can enable the location provider. It would also mean keeping a counter of nr of enabled sensors somewhere.\r\n\r\nRight now it might be confusing that location provider is automatically enabled for some sensors/providers but not for others..."}}