{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/243","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/243/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/243/events","html_url":"https://github.com/angular/angularfire2/issues/243","id":161039022,"number":243,"title":"Uncaught Error: \"location.protocol\" must be http or https when building to device using Ionic 2 & Angular 2","user":{"login":"nickkenens","id":11739915,"avatar_url":"https://avatars.githubusercontent.com/u/11739915?v=3","gravatar_id":"","url":"https://api.github.com/users/nickkenens","html_url":"https://github.com/nickkenens","followers_url":"https://api.github.com/users/nickkenens/followers","following_url":"https://api.github.com/users/nickkenens/following{/other_user}","gists_url":"https://api.github.com/users/nickkenens/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkenens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkenens/subscriptions","organizations_url":"https://api.github.com/users/nickkenens/orgs","repos_url":"https://api.github.com/users/nickkenens/repos","events_url":"https://api.github.com/users/nickkenens/events{/privacy}","received_events_url":"https://api.github.com/users/nickkenens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-06-18T19:10:33Z","updated_at":"2016-06-22T19:43:34Z","closed_at":null,"body":"Error in question:\r\n`This operation is not supported in the environment this application is running on. \"location.protocol\" must be http or https.`\r\n\r\nThis error only occurs when the app is built & running on a device. In the browser it works great (which is logical).\r\n\r\nMaybe there's a way to manually set the location.protocol on a cordova app using Ionic 2?"},"comment":{"url":"https://api.github.com/repos/angular/angularfire2/issues/comments/227855008","html_url":"https://github.com/angular/angularfire2/issues/243#issuecomment-227855008","issue_url":"https://api.github.com/repos/angular/angularfire2/issues/243","id":227855008,"user":{"login":"jeffbcross","id":463703,"avatar_url":"https://avatars.githubusercontent.com/u/463703?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbcross","html_url":"https://github.com/jeffbcross","followers_url":"https://api.github.com/users/jeffbcross/followers","following_url":"https://api.github.com/users/jeffbcross/following{/other_user}","gists_url":"https://api.github.com/users/jeffbcross/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbcross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbcross/subscriptions","organizations_url":"https://api.github.com/users/jeffbcross/orgs","repos_url":"https://api.github.com/users/jeffbcross/repos","events_url":"https://api.github.com/users/jeffbcross/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbcross/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T19:43:34Z","updated_at":"2016-06-22T19:43:34Z","body":"@olostan the error occurs as soon as subscribing to auth because AngularFire is calling `getRedirectResult()` under the covers to check if the request is part of a redirect oauth flow."}}
{"actor":{"display_login":"jeffbcross"}}