{"action":"created","issue":{"url":"https://api.github.com/repos/square/spoon/issues/292","labels_url":"https://api.github.com/repos/square/spoon/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/square/spoon/issues/292/comments","events_url":"https://api.github.com/repos/square/spoon/issues/292/events","html_url":"https://github.com/square/spoon/issues/292","id":110505445,"number":292,"title":"Screenshots fail on 6.0 when the app doesn't hold the WRITE_EXTERNAL_STORAGE permission","user":{"login":"MichaelEvans","id":1211302,"avatar_url":"https://avatars.githubusercontent.com/u/1211302?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelEvans","html_url":"https://github.com/MichaelEvans","followers_url":"https://api.github.com/users/MichaelEvans/followers","following_url":"https://api.github.com/users/MichaelEvans/following{/other_user}","gists_url":"https://api.github.com/users/MichaelEvans/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelEvans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelEvans/subscriptions","organizations_url":"https://api.github.com/users/MichaelEvans/orgs","repos_url":"https://api.github.com/users/MichaelEvans/repos","events_url":"https://api.github.com/users/MichaelEvans/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelEvans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T17:39:50Z","updated_at":"2016-01-07T19:32:08Z","closed_at":"2016-01-07T19:32:08Z","body":"If the app doesn't request the `write_external_storage` permission, on <= L, you can add the permission to the tested variant's manifest, which through the magic of the manifest merger, will allow the for Spoon to take screenshots. \r\n\r\nOn M however, simply adding the permission to the manifest doesn't actually grant it. A possible workaround would be to grant permission with adb. \r\n```\r\ngrant <PACKAGE_NAME> <PERMISSION>\r\n```"},"comment":{"url":"https://api.github.com/repos/square/spoon/issues/comments/169782646","html_url":"https://github.com/square/spoon/issues/292#issuecomment-169782646","issue_url":"https://api.github.com/repos/square/spoon/issues/292","id":169782646,"user":{"login":"edenman","id":1063557,"avatar_url":"https://avatars.githubusercontent.com/u/1063557?v=3","gravatar_id":"","url":"https://api.github.com/users/edenman","html_url":"https://github.com/edenman","followers_url":"https://api.github.com/users/edenman/followers","following_url":"https://api.github.com/users/edenman/following{/other_user}","gists_url":"https://api.github.com/users/edenman/gists{/gist_id}","starred_url":"https://api.github.com/users/edenman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenman/subscriptions","organizations_url":"https://api.github.com/users/edenman/orgs","repos_url":"https://api.github.com/users/edenman/repos","events_url":"https://api.github.com/users/edenman/events{/privacy}","received_events_url":"https://api.github.com/users/edenman/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T19:32:08Z","updated_at":"2016-01-07T19:32:08Z","body":"This should be fixed."}}