Hey everyone,
I’m struggling to get my android apks to run on Android 6.1 and below. I don’t get any build errors, my app runs fine on Android 7 and Android 8 real devices and emulators, but on any version of android less than 7 it shows the splash and then just sits on a blank white screen. No crash, no errors, just a blank white screen forever.
I did some googling and couldn’t find any reports of other devs having this issue, but hopefully it’s an easy/straightforward fix. I don’t want to use crosswalk since it’s no longer being maintained and I’m fine targeting android devices 5.0 and above, if I can get Android 5 and 6 working. Any ideas/suggestions would be hugely appreciated.
All of my dependencies are up to date, as seen in the package.json:
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "node --max_old_space_size=8192 ./node_modules/@ionic/app-scripts/bin/ionic-app-scripts.js build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/compiler-cli": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@ionic-native/app-rate": "^4.3.1",
"@ionic-native/core": "^4.3.1",
"@ionic-native/native-audio": "^4.3.1",
"@ionic-native/splash-screen": "^4.3.1",
"@ionic-native/status-bar": "^4.3.1",
"@ionic/app-scripts": "3.0.0",
"@ionic/storage": "2.0.1",
"cordova-android": "^6.3.0",
"cordova-ios": "^4.5.1",
"cordova-plugin-apprate": "^1.3.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-dialogs": "^1.3.3",
"cordova-plugin-globalization": "^1.0.7",
"cordova-plugin-inappbrowser": "^1.7.1",
"cordova-plugin-ionic-webview": "^1.1.15",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.3",
"cordova-sqlite-storage": "~2.0.4",
"ionic-angular": "3.7.0",
"ionicons": "3.0.0",
"ios-deploy": "^1.9.2",
"npm": "^5.4.2",
"rxjs": "5.4.3",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.17"
},
"devDependencies": {
"@ionic/cli-plugin-cordova": "1.6.2",
"@ionic/cli-plugin-ionic-angular": "1.4.1",
"ionic": "^3.12.0",
"typescript": "2.5.3"
},
And ionic info:
cli packages:
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : android 6.3.0 ios 4.5.1
Ionic Framework : ionic-angular 3.7.0
System:
Android SDK Tools : 26.0.2
ios-deploy : 1.9.2
Node : v8.6.0
npm : 5.4.2
OS : macOS Sierra
Xcode : Xcode 9.0 Build version 9A235
Misc:
backend : legacy