{"action":"created","issue":{"url":"https://api.github.com/repos/andstatus/andstatus/issues/365","repository_url":"https://api.github.com/repos/andstatus/andstatus","labels_url":"https://api.github.com/repos/andstatus/andstatus/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/andstatus/andstatus/issues/365/comments","events_url":"https://api.github.com/repos/andstatus/andstatus/issues/365/events","html_url":"https://github.com/andstatus/andstatus/issues/365","id":149554953,"number":365,"title":"Support Android 6 permissions","user":{"login":"yvolk","id":207716,"avatar_url":"https://avatars.githubusercontent.com/u/207716?v=3","gravatar_id":"","url":"https://api.github.com/users/yvolk","html_url":"https://github.com/yvolk","followers_url":"https://api.github.com/users/yvolk/followers","following_url":"https://api.github.com/users/yvolk/following{/other_user}","gists_url":"https://api.github.com/users/yvolk/gists{/gist_id}","starred_url":"https://api.github.com/users/yvolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvolk/subscriptions","organizations_url":"https://api.github.com/users/yvolk/orgs","repos_url":"https://api.github.com/users/yvolk/repos","events_url":"https://api.github.com/users/yvolk/events{/privacy}","received_events_url":"https://api.github.com/users/yvolk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andstatus/andstatus/labels/Compatibility","name":"Compatibility","color":"d7b7ff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-19T19:15:40Z","updated_at":"2016-05-13T22:45:09Z","closed_at":null,"body":"From http://developer.android.com/training/permissions/requesting.html\r\n\r\n> If the device is running Android 6.0 or higher, and your app's target SDK is 23 or higher: The app has to list the permissions in the manifest, and it must request each dangerous permission it needs while the app is running. The user can grant or deny each permission, and the app can continue to run with limited capabilities even if the user denies a permission request.\r\n"},"comment":{"url":"https://api.github.com/repos/andstatus/andstatus/issues/comments/219176861","html_url":"https://github.com/andstatus/andstatus/issues/365#issuecomment-219176861","issue_url":"https://api.github.com/repos/andstatus/andstatus/issues/365","id":219176861,"user":{"login":"yvolk","id":207716,"avatar_url":"https://avatars.githubusercontent.com/u/207716?v=3","gravatar_id":"","url":"https://api.github.com/users/yvolk","html_url":"https://github.com/yvolk","followers_url":"https://api.github.com/users/yvolk/followers","following_url":"https://api.github.com/users/yvolk/following{/other_user}","gists_url":"https://api.github.com/users/yvolk/gists{/gist_id}","starred_url":"https://api.github.com/users/yvolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvolk/subscriptions","organizations_url":"https://api.github.com/users/yvolk/orgs","repos_url":"https://api.github.com/users/yvolk/repos","events_url":"https://api.github.com/users/yvolk/events{/privacy}","received_events_url":"https://api.github.com/users/yvolk/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T22:45:09Z","updated_at":"2016-05-13T22:45:09Z","body":"As I found out during testing, I need to create tests, which check app behaviour in API 23+, when \"Allow AndStatus to access...\" dialog appears and a User may decide Allow or Deny this access.\r\nRead http://blog.egorand.me/testing-runtime-permissions-lessons-learned/ on a possible approach."}}