Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs component causes white screens on Android #6087

Closed
jgw96 opened this issue Apr 8, 2016 · 5 comments
Closed

Tabs component causes white screens on Android #6087

jgw96 opened this issue Apr 8, 2016 · 5 comments
Labels
needs: reply the issue needs a response from the user
Milestone

Comments

@jgw96
Copy link
Contributor

jgw96 commented Apr 8, 2016

Short description of the problem:

Whenever running an app that has a tabs component on android devices it causes a white screen. No exception are seen in logs and it works fine in chrome.

Steps to reproduce:

  1. Either use tabs starter or add a tabs component to any starter

Other information:
Tried on Android 6.0.1, 5.1, and Android N dev preview. Same results on all.

Which Ionic Version? 2.x

Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X Yosemite
Node Version: v5.8.0
Xcode version: Xcode 7.2.1 Build version 7C1002

@jgw96 jgw96 added tabs labels Apr 8, 2016
@guillenotfound
Copy link
Contributor

Same here!

Your system information:

Cordova CLI: 6.1.1
Ionic Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.23
Ionic App Lib Version: 2.0.0-beta.13
ios-deploy version: 1.8.5
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.3.0
Xcode version: Xcode 7.3 Build version 7D175

@brandyscarney brandyscarney added this to the 2.0.0-beta.5 milestone Apr 8, 2016
@brandyscarney
Copy link
Member

@ZiFFeL1992 Do you have this code in your app, and if you comment it out does the app work:

platform.ready().then(() => {
  // Okay, so the platform is ready and our plugins are available.
  // Here you can do any higher level native things you might need.
});

@jgw96 jgw96 added the needs: reply the issue needs a response from the user label Apr 8, 2016
@guillenotfound
Copy link
Contributor

Hello @brandyscarney !
Plugins are loading fine, but the tabs.js is not been called, I tried to console.log() inside the constructor but I can't see the log in the console.

This is also happening on iOS.

@nayrrod
Copy link

nayrrod commented Apr 11, 2016

Same issue here when trying to deploy on android.
Chrome is working fine.

Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.10.1
Xcode version: Not installed

@adamdbradley
Copy link
Contributor

Looks like NgZone wasn't running after cordova's deviceready event fired. Should be fixed in the next release. Thanks for the help!

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: reply the issue needs a response from the user
Projects
None yet
Development

No branches or pull requests

5 participants