{"action":"created","issue":{"url":"https://api.github.com/repos/AppGyver/steroids/issues/570","labels_url":"https://api.github.com/repos/AppGyver/steroids/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/AppGyver/steroids/issues/570/comments","events_url":"https://api.github.com/repos/AppGyver/steroids/issues/570/events","html_url":"https://github.com/AppGyver/steroids/issues/570","id":46327098,"number":570,"title":"iOS InAppBrowser not responding to redirects","user":{"login":"peterdemartini","id":1044698,"avatar_url":"https://avatars.githubusercontent.com/u/1044698?v=3","gravatar_id":"","url":"https://api.github.com/users/peterdemartini","html_url":"https://github.com/peterdemartini","followers_url":"https://api.github.com/users/peterdemartini/followers","following_url":"https://api.github.com/users/peterdemartini/following{/other_user}","gists_url":"https://api.github.com/users/peterdemartini/gists{/gist_id}","starred_url":"https://api.github.com/users/peterdemartini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterdemartini/subscriptions","organizations_url":"https://api.github.com/users/peterdemartini/orgs","repos_url":"https://api.github.com/users/peterdemartini/repos","events_url":"https://api.github.com/users/peterdemartini/events{/privacy}","received_events_url":"https://api.github.com/users/peterdemartini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AppGyver/steroids/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/AppGyver/steroids/labels/iOS","name":"iOS","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/AppGyver/steroids/milestones/35","html_url":"https://github.com/AppGyver/steroids/milestones/iOS%204.0.5","labels_url":"https://api.github.com/repos/AppGyver/steroids/milestones/35/labels","id":1240031,"number":35,"title":"iOS 4.0.5","description":"","creator":{"login":"harsaharsa","id":1327592,"avatar_url":"https://avatars.githubusercontent.com/u/1327592?v=3","gravatar_id":"","url":"https://api.github.com/users/harsaharsa","html_url":"https://github.com/harsaharsa","followers_url":"https://api.github.com/users/harsaharsa/followers","following_url":"https://api.github.com/users/harsaharsa/following{/other_user}","gists_url":"https://api.github.com/users/harsaharsa/gists{/gist_id}","starred_url":"https://api.github.com/users/harsaharsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsaharsa/subscriptions","organizations_url":"https://api.github.com/users/harsaharsa/orgs","repos_url":"https://api.github.com/users/harsaharsa/repos","events_url":"https://api.github.com/users/harsaharsa/events{/privacy}","received_events_url":"https://api.github.com/users/harsaharsa/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"closed","created_at":"2015-08-04T12:02:51Z","updated_at":"2015-10-07T12:58:15Z","due_on":null,"closed_at":"2015-08-13T12:49:05Z"},"comments":73,"created_at":"2014-10-20T21:21:00Z","updated_at":"2015-10-26T15:05:29Z","closed_at":null,"body":"There has been a recent update that broke the InAppBrowser events on iOS. They are no longer are responding some redirects. For example, \r\n\t\r\n\t  var url = 'http://some-url-that-redirects-when-loaded.com'; // Should redirect to http://google.com\r\n\t  var newWindow = window.open(url, '_blank', 'location=no,toolbar=yes');\r\n\r\n\t  function exit() {\r\n\t    newWindow.removeEventListener('loadstart', loadStart);\r\n\t   \tnewWindow.removeEventListener('exit', exit);\r\n\t  }\r\n\r\n\t  function loadStart(e) {\r\n\t    console.log('URL : ', e.url);\r\n\t  }\r\n\r\n\t  newWindow.addEventListener('loadstart', loadStart);\r\n\t  newWindow.addEventListener('exit', exit);\r\n\r\nActual Output:\r\n\r\n\tURL : http://some-url-that-redirects-when-loaded.com\r\n\r\nCorrect Output:\r\n\r\n\tURL : http://some-url-that-redirects-when-loaded.com\r\n\tURL : http://google.com\r\n\r\nThis breaks my oauth login. I found this bug to only be present on iOS. All of the events for the `newWindow` seem to respond the same. Removing the toolbar or exit, also has no effect.\r\n\r\nMy testing was done in iOS 8."},"comment":{"url":"https://api.github.com/repos/AppGyver/steroids/issues/comments/151167169","html_url":"https://github.com/AppGyver/steroids/issues/570#issuecomment-151167169","issue_url":"https://api.github.com/repos/AppGyver/steroids/issues/570","id":151167169,"user":{"login":"andybbtt11","id":1443791,"avatar_url":"https://avatars.githubusercontent.com/u/1443791?v=3","gravatar_id":"","url":"https://api.github.com/users/andybbtt11","html_url":"https://github.com/andybbtt11","followers_url":"https://api.github.com/users/andybbtt11/followers","following_url":"https://api.github.com/users/andybbtt11/following{/other_user}","gists_url":"https://api.github.com/users/andybbtt11/gists{/gist_id}","starred_url":"https://api.github.com/users/andybbtt11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andybbtt11/subscriptions","organizations_url":"https://api.github.com/users/andybbtt11/orgs","repos_url":"https://api.github.com/users/andybbtt11/repos","events_url":"https://api.github.com/users/andybbtt11/events{/privacy}","received_events_url":"https://api.github.com/users/andybbtt11/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T15:05:29Z","updated_at":"2015-10-26T15:05:29Z","body":"Can confirm here that it is working. Thanks again @harsaharsa "}}