{"action":"created","issue":{"url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/6","labels_url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/6/comments","events_url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/6/events","html_url":"https://github.com/tbruyelle/RxPermissions/pull/6","id":109282507,"number":6,"title":"Use an invisible proxy activity to request permissions","user":{"login":"eleventigers","id":564920,"avatar_url":"https://avatars.githubusercontent.com/u/564920?v=3","gravatar_id":"","url":"https://api.github.com/users/eleventigers","html_url":"https://github.com/eleventigers","followers_url":"https://api.github.com/users/eleventigers/followers","following_url":"https://api.github.com/users/eleventigers/following{/other_user}","gists_url":"https://api.github.com/users/eleventigers/gists{/gist_id}","starred_url":"https://api.github.com/users/eleventigers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleventigers/subscriptions","organizations_url":"https://api.github.com/users/eleventigers/orgs","repos_url":"https://api.github.com/users/eleventigers/repos","events_url":"https://api.github.com/users/eleventigers/events{/privacy}","received_events_url":"https://api.github.com/users/eleventigers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-01T11:37:40Z","updated_at":"2015-10-01T12:47:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tbruyelle/RxPermissions/pulls/6","html_url":"https://github.com/tbruyelle/RxPermissions/pull/6","diff_url":"https://github.com/tbruyelle/RxPermissions/pull/6.diff","patch_url":"https://github.com/tbruyelle/RxPermissions/pull/6.patch"},"body":"This allows a consumer to use the library with a regular context and helps to alleviate #3. \r\n\r\nRxPermissions will handle launching an invisible activity which will broadcast permission request result as intent back to the RxPermisssions instance. It's assumed that only one RxPermissions instance will be used at a time - consumer should take care of caching it somewhere.\r\n\r\nI am not sure if BroadcastReceiver is the best solution here - I am open to suggestions ;]"},"comment":{"url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/comments/144717221","html_url":"https://github.com/tbruyelle/RxPermissions/pull/6#issuecomment-144717221","issue_url":"https://api.github.com/repos/tbruyelle/RxPermissions/issues/6","id":144717221,"user":{"login":"tbruyelle","id":92280,"avatar_url":"https://avatars.githubusercontent.com/u/92280?v=3","gravatar_id":"","url":"https://api.github.com/users/tbruyelle","html_url":"https://github.com/tbruyelle","followers_url":"https://api.github.com/users/tbruyelle/followers","following_url":"https://api.github.com/users/tbruyelle/following{/other_user}","gists_url":"https://api.github.com/users/tbruyelle/gists{/gist_id}","starred_url":"https://api.github.com/users/tbruyelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbruyelle/subscriptions","organizations_url":"https://api.github.com/users/tbruyelle/orgs","repos_url":"https://api.github.com/users/tbruyelle/repos","events_url":"https://api.github.com/users/tbruyelle/events{/privacy}","received_events_url":"https://api.github.com/users/tbruyelle/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T12:47:38Z","updated_at":"2015-10-01T12:47:38Z","body":"> I think that this library should not be concerned with managing the observable for the consume\r\n\r\nYeah you're probably right, but I'm disappointed because this will complicate a lot the integration of the library."}}