{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/8373","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/8373/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/8373/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/8373/events","html_url":"https://github.com/driftyco/ionic/issues/8373","id":180420682,"number":8373,"title":"RC-0: navigation failed to blank page","user":{"login":"ecureuill","id":993369,"avatar_url":"https://avatars.githubusercontent.com/u/993369?v=3","gravatar_id":"","url":"https://api.github.com/users/ecureuill","html_url":"https://github.com/ecureuill","followers_url":"https://api.github.com/users/ecureuill/followers","following_url":"https://api.github.com/users/ecureuill/following{/other_user}","gists_url":"https://api.github.com/users/ecureuill/gists{/gist_id}","starred_url":"https://api.github.com/users/ecureuill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecureuill/subscriptions","organizations_url":"https://api.github.com/users/ecureuill/orgs","repos_url":"https://api.github.com/users/ecureuill/repos","events_url":"https://api.github.com/users/ecureuill/events{/privacy}","received_events_url":"https://api.github.com/users/ecureuill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-30T23:14:18Z","updated_at":"2016-10-05T20:39:52Z","closed_at":null,"body":"#### Short description of the problem:\r\n\r\n`navCtrl.push(...)` after a login attempt works only with Chrome developer tools (android device).\r\nOtherwise, it goes to the redirect page, and quickly shows a blank page instead. \r\n\r\nIt's the same behavior with `setRoot`\r\n\r\n**UPDATE**\r\nIn a more simple scenery, with no redirect before login, still leads to blank page.\r\nhttps://github.com/ecureuill/Ionic2RC-Auth0.git3\r\n\r\nSo  I guess it is not a bug specific to method `push()` or `setRoot`.\r\nCould be a problem between ionic navigation and angular navigation?\r\n**UPDATE**\r\n\r\n#### What behavior are you expecting?\r\n\r\n\r\n**Steps to reproduce:**\r\n1. ionic serve\r\n2. open Chrome developers tool (android device)\r\n3. navigate (works)\r\n\r\n1. ionic serve \r\n2. navigate (don't work)\r\n\r\n\r\n```\r\nimport { Component } from '@angular/core';\r\nimport { NavController } from 'ionic-angular';\r\n\r\nimport { AuthService } from '../../providers/auth0'\r\n\r\nimport { HomePage } from '../home/home';\r\n\r\n\r\n@Component({\r\n\tselector: 'page-login',\r\n\ttemplateUrl: 'login.html'\r\n})\r\nexport class LoginPage {\r\n\r\n\tconstructor(public navCtrl: NavController, private auth: AuthService) {\r\n\t\tthis.redirectTo();\r\n\t}\r\n\r\n\tpublic get autenticado(): boolean {\r\n\t\treturn this.auth.authenticated();\r\n\t}\r\n\r\n\tlogin() {\r\n\t\tthis.auth.lock.show();\r\n\t}\r\n\r\n\tredirectTo() {\r\n\t\tif (this.auth.authenticated()) {\r\n\t\t\tthis.navCtrl.push(HomePage);\r\n\t\t} else {\r\n\t\t\tthis.auth.lock.on('authenticated', authResult => {\r\n\t\t\t\tthis.navCtrl.push(HomePage);\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\n**Other information:** (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)\r\n https://forum.ionicframework.com/t/page-coming-as-blank-after-login-in-ionic-2-rc0/65077\r\n\r\n**Which Ionic Version?** 1.x or 2.x\r\n2.0RC-0\r\n\r\n\r\n**Run `ionic info` from terminal/cmd prompt:** (paste output below)\r\n\r\nYour system information:\r\n\r\nCordova CLI: 6.3.1\r\nGulp version:  CLI version 3.9.1\r\nGulp local:  \r\nIonic Framework Version: 2.0.0-rc.0\r\nIonic CLI Version: 2.1.0\r\nIonic App Lib Version: 2.1.0-beta.1\r\nOS: Distributor ID:\tDebian Description:\tDebian GNU/Linux 8.6 (jessie) \r\nNode Version: v4.5.0\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/251792811","html_url":"https://github.com/driftyco/ionic/issues/8373#issuecomment-251792811","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/8373","id":251792811,"user":{"login":"ecureuill","id":993369,"avatar_url":"https://avatars.githubusercontent.com/u/993369?v=3","gravatar_id":"","url":"https://api.github.com/users/ecureuill","html_url":"https://github.com/ecureuill","followers_url":"https://api.github.com/users/ecureuill/followers","following_url":"https://api.github.com/users/ecureuill/following{/other_user}","gists_url":"https://api.github.com/users/ecureuill/gists{/gist_id}","starred_url":"https://api.github.com/users/ecureuill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecureuill/subscriptions","organizations_url":"https://api.github.com/users/ecureuill/orgs","repos_url":"https://api.github.com/users/ecureuill/repos","events_url":"https://api.github.com/users/ecureuill/events{/privacy}","received_events_url":"https://api.github.com/users/ecureuill/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T20:39:52Z","updated_at":"2016-10-05T20:39:52Z","body":"Yes, I've noticed that.\r\nAfter redirect to HomePage, it come back to LoginPage, and I guess that it is \"blank\" because content should be resized. "}}
{"actor":{"display_login":"ecureuill"}}