ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Ion-tabs not displaying in Android 4.4 kitkat

Open Ghayyas opened this issue 10 years ago • 48 comments

Hello, recently I just Upgrade my Ionic 2 project from beta 10 to beta 11. But Its having problem with its tabs.. I Have tabs on bottom.. On browser It Display tabs and Samasung Galxy s5 (Android 5.0) but It not showing tabs on my android 4.4 kitkat.. When I click on my tab I navigates me to that page but is Shows white blank screen on tabs bar..

Ghayyas avatar Aug 08 '16 12:08 Ghayyas

samee :/ update to beta 11 and tab hide ... bt it work white area appear at tab places...

shamrozwarraich avatar Aug 08 '16 18:08 shamrozwarraich

The same for me.

bushev avatar Aug 08 '16 19:08 bushev

any solution.... @bushev @Ghayyas ??/

shamrozwarraich avatar Aug 09 '16 13:08 shamrozwarraich

Hello all! Would you all mind telling me exactly which version of Android the tabs are not showing on?

jgw96 avatar Aug 09 '16 13:08 jgw96

@jgw96 Hello! I have tested Android 4.4.4

I'm not sure, related that or not, but I have found one more problem with UI: https://github.com/driftyco/ionic-conference-app/issues/223

bushev avatar Aug 09 '16 13:08 bushev

Hi Im having this issue on android 4.4 kitkat.

Ghayyas avatar Aug 09 '16 13:08 Ghayyas

@Ghayyas @bushev thanks! @Ghayyas is it 4.4.4 or 4.4.2?

jgw96 avatar Aug 09 '16 13:08 jgw96

@jgw96 I have android 4.4.2

Ghayyas avatar Aug 09 '16 14:08 Ghayyas

Same here on 4.4, I could see it happening when I have side-menu + tabs, similar to that in conference app

pskhodad avatar Aug 09 '16 15:08 pskhodad

Hello all,

I am not seeing this issue. Can you try running the following command and seeing if it resolves the issue:

ionic plugin add cordova-plugin-crosswalk-webview

Otherwise, can you provide a plunkr or codepen that I can use to recreate the issue?

Thanks, Dan

danbucholtz avatar Aug 09 '16 15:08 danbucholtz

@danbucholtz Hello! As for me it doesn't work with my app, crosswalk make the app 6 times bigger but now I can't see any icon or text inside my app:

image

I will try with conference app.

bushev avatar Aug 09 '16 18:08 bushev

@danbucholtz the same for conference app.

Steps to reproduce:

  1. Check out ionic-conference-app
  2. ionic plugin add cordova-plugin-crosswalk-webview
  3. ionic build android --release
  4. Sing app and upload to Samsung Galaxy S5 - 4.4.4 - API 19 - Genymotion.
  5. See only blank (white) screen after splash

image

bushev avatar Aug 09 '16 19:08 bushev

I can't speak to your apps, but I can recreate this issue by removing crosswalk from the conference app. Thanks for putting together the examples!

Assigning to beta 12.

Thanks, Dan

danbucholtz avatar Aug 09 '16 19:08 danbucholtz

Hello all! So we have tested this with crosswalk on a moto g running android 4.4.2 and cannot reproduce the issue. I would recommend re-cloning the conference app, running npm install, add crosswalk with ionic plugin add cordova-plugin-crosswalk-webview and then run ionic run android. Also, make sure you completely uninstall the app from your device too. @bushev i would also recommend testing with a real device if possible and not genymotion. Thanks evereyone!

jgw96 avatar Aug 09 '16 20:08 jgw96

@jgw96

So, Android 4.4.2 (4.4.4) is supported with crosswalk only? That means all apps that use tabs should include crosswalk and be ~30mb in size?

PS: This but initially comes from a real device with Android 4.4.4

bushev avatar Aug 09 '16 21:08 bushev

@bushev could you try my above steps but without crosswalk please? Thanks!

jgw96 avatar Aug 09 '16 21:08 jgw96

@jgw96

Okay, my test results:

Latest ionic-conference-app

  1. git clone https://github.com/driftyco/ionic-conference-app.git && cd ionic-conference-app
  2. npm i && ionic run android

Result: I can see the white screen only

ionic-conference-app with beta10 (https://github.com/driftyco/ionic-conference-app/commit/5ec378dbc58c611160e3522505de4ac99a331697)

  1. git checkout 5ec378dbc58c611160e3522505de4ac99a331697 .
  2. Strict ionic beta version to 10 (remove "^")
  3. rm -rf node_modules && npm i && ionic run android

Result: Application works great

bushev avatar Aug 09 '16 22:08 bushev

2 builds attached.

android-debug-10.apk.zip android-debug-11.apk.zip

bushev avatar Aug 09 '16 22:08 bushev

I have Android 4.4... When i login it show tabs. when I select any tab it hides the tab and shows white blank screen on tabs.. It only happens in Android 4.4, I have tested in browser and Android 5.0 and Iphone.. I works fine but not in my android 4.4 :(

Ghayyas avatar Aug 10 '16 13:08 Ghayyas

@ghayyas @bushev hiii tab work for me am removing the platform android and update it to 5.2.1 and then add the platform and run its working tabs shown ... 4.4kitkat

shamrozwarraich avatar Aug 11 '16 11:08 shamrozwarraich