{"action":"created","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/211","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/211/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/211/events","html_url":"https://github.com/smartdevicelink/sdl_ios/issues/211","id":82057387,"number":211,"title":"Connecting the phone to SYNC before launching the app results in the app not attempting to connect","user":{"login":"adein","id":1576508,"avatar_url":"https://avatars.githubusercontent.com/u/1576508?v=3","gravatar_id":"","url":"https://api.github.com/users/adein","html_url":"https://github.com/adein","followers_url":"https://api.github.com/users/adein/followers","following_url":"https://api.github.com/users/adein/following{/other_user}","gists_url":"https://api.github.com/users/adein/gists{/gist_id}","starred_url":"https://api.github.com/users/adein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adein/subscriptions","organizations_url":"https://api.github.com/users/adein/orgs","repos_url":"https://api.github.com/users/adein/repos","events_url":"https://api.github.com/users/adein/events{/privacy}","received_events_url":"https://api.github.com/users/adein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/labels/bug","name":"bug","color":"F44336"},{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/labels/high%20priority","name":"high priority","color":"e91e63"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/milestones/2","html_url":"https://github.com/smartdevicelink/sdl_ios/milestones/4.0.0","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/milestones/2/labels","id":955486,"number":2,"title":"4.0.0","description":"Headlining features are App Launching support, project restructure for new distribution methods support, and unit tests for rpcs and protocol layers.\r\n\r\nOf course, also contains bug fixes.","creator":{"login":"joeljfischer","id":1767063,"avatar_url":"https://avatars.githubusercontent.com/u/1767063?v=3","gravatar_id":"","url":"https://api.github.com/users/joeljfischer","html_url":"https://github.com/joeljfischer","followers_url":"https://api.github.com/users/joeljfischer/followers","following_url":"https://api.github.com/users/joeljfischer/following{/other_user}","gists_url":"https://api.github.com/users/joeljfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljfischer/subscriptions","organizations_url":"https://api.github.com/users/joeljfischer/orgs","repos_url":"https://api.github.com/users/joeljfischer/repos","events_url":"https://api.github.com/users/joeljfischer/events{/privacy}","received_events_url":"https://api.github.com/users/joeljfischer/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":117,"state":"open","created_at":"2015-01-28T19:43:45Z","updated_at":"2015-06-18T17:58:39Z","due_on":"2015-03-31T04:00:00Z","closed_at":null},"comments":10,"created_at":"2015-05-28T18:04:17Z","updated_at":"2015-06-19T12:49:46Z","closed_at":null,"body":"It seems that the proxy doesn't check for EA connections when the proxy is instantiated; it only checks when a connection event occurs.  This results in apps not connecting if the app is launched after the device is connected to SYNC."},"comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/comments/113505507","html_url":"https://github.com/smartdevicelink/sdl_ios/issues/211#issuecomment-113505507","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/211","id":113505507,"user":{"login":"joeljfischer","id":1767063,"avatar_url":"https://avatars.githubusercontent.com/u/1767063?v=3","gravatar_id":"","url":"https://api.github.com/users/joeljfischer","html_url":"https://github.com/joeljfischer","followers_url":"https://api.github.com/users/joeljfischer/followers","following_url":"https://api.github.com/users/joeljfischer/following{/other_user}","gists_url":"https://api.github.com/users/joeljfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljfischer/subscriptions","organizations_url":"https://api.github.com/users/joeljfischer/orgs","repos_url":"https://api.github.com/users/joeljfischer/repos","events_url":"https://api.github.com/users/joeljfischer/events{/privacy}","received_events_url":"https://api.github.com/users/joeljfischer/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T12:49:46Z","updated_at":"2015-06-19T12:49:46Z","body":"@adein Well we're waiting on confirmation on #212 anyway. The additional things I have in this fix also change some public APIs (11th hour I know) for safety reasons, basically just making the proxy listeners array into a set, so that developers can't accidentally add a listener twice and get double callbacks, making it readonly, so they can't accidentally set a new value in there, and making it immutable, so they don't have two options for adding a proxy listener, one good and one 'bad'. It also adds a way for developers to remove a listener they no longer need.\r\n\r\nIt's pretty minor stuff, really, but it would have to get in before 4.0 or wait for 5.0."}}