{"action":"created","issue":{"url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/13","repository_url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk","labels_url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/13/comments","events_url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/13/events","html_url":"https://github.com/zelloptt/zello-android-client-sdk/issues/13","id":200143505,"number":13,"title":"requestVitalPermissions() & showMicrophonePermissionDialog() do not work as coded","user":{"login":"ThomasSunderland","id":2091370,"avatar_url":"https://avatars.githubusercontent.com/u/2091370?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSunderland","html_url":"https://github.com/ThomasSunderland","followers_url":"https://api.github.com/users/ThomasSunderland/followers","following_url":"https://api.github.com/users/ThomasSunderland/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSunderland/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSunderland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSunderland/subscriptions","organizations_url":"https://api.github.com/users/ThomasSunderland/orgs","repos_url":"https://api.github.com/users/ThomasSunderland/repos","events_url":"https://api.github.com/users/ThomasSunderland/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSunderland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-11T16:37:40Z","updated_at":"2017-01-11T17:31:36Z","closed_at":null,"body":"Per the Zello sample app, both of these methods attempt to start a new activity using the application context rather than an activity context (application context is used when calling the configure() method in App.java). Each method attempts to start a new activity using the application context without specifying Intent.FLAG_ACTIVITY_NEW_TASK which results in an exception being thrown and swallowed and the methods silently failing.\r\n\r\nThe code should probably be updated to include this flag, otherwise neither method will work as intended.\r\n\r\nWe verified this via two different workarounds: (1) we configured the SDK with an activity context and the methods then worked as expected and (2) we tried running the code within the methods directly from the sample app TalkActivity rather than calling the methods and this also worked fine.\r\n\r\nAlso, unrelated, but the sample app does not run for me unless I add the menu_set_status resource to the menu.xml file in the v11 directory.\r\n"},"comment":{"url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/comments/271935024","html_url":"https://github.com/zelloptt/zello-android-client-sdk/issues/13#issuecomment-271935024","issue_url":"https://api.github.com/repos/zelloptt/zello-android-client-sdk/issues/13","id":271935024,"user":{"login":"adambailey-","id":10304518,"avatar_url":"https://avatars.githubusercontent.com/u/10304518?v=3","gravatar_id":"","url":"https://api.github.com/users/adambailey-","html_url":"https://github.com/adambailey-","followers_url":"https://api.github.com/users/adambailey-/followers","following_url":"https://api.github.com/users/adambailey-/following{/other_user}","gists_url":"https://api.github.com/users/adambailey-/gists{/gist_id}","starred_url":"https://api.github.com/users/adambailey-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambailey-/subscriptions","organizations_url":"https://api.github.com/users/adambailey-/orgs","repos_url":"https://api.github.com/users/adambailey-/repos","events_url":"https://api.github.com/users/adambailey-/events{/privacy}","received_events_url":"https://api.github.com/users/adambailey-/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T17:31:36Z","updated_at":"2017-01-11T17:31:36Z","body":"Do you have any more details on the last line regarding menu_set_status? What do you mean by it \"does not run\"? It won't compile? It crashes on start?"}}
{"actor":{"display_login":"adambailey-"}}