Ionic 3 slow performance in android

#1

hello
why ionic 3 performance in android is slower than ios even with crosswalk is there any other solution in future like wk webview which it very enhaced ios performance

i think everyone can feel this problem

#2

my package

{
  "name": "commerce",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/animations": "5.2.9",
    "@angular/cdk": "^5.2.4",
    "@angular/common": "5.2.9",
    "@angular/compiler": "5.2.9",
    "@angular/compiler-cli": "5.2.9",
    "@angular/core": "5.2.9",
    "@angular/forms": "5.2.9",
    "@angular/http": "5.2.9",
    "@angular/material": "^5.2.4",
    "@angular/platform-browser": "5.2.9",
    "@angular/platform-browser-dynamic": "5.2.9",
    "@angular/tsc-wrapped": "^4.4.6",
    "@ionic-native/barcode-scanner": "^4.4.2",
    "@ionic-native/core": "4.6.0",
    "@ionic-native/network": "^4.5.2",
    "@ionic-native/onesignal": "^3.10.3",
    "@ionic-native/splash-screen": "4.6.0",
    "@ionic-native/status-bar": "4.6.0",
    "@ionic/storage": "2.1.3",
    "angularfire2": "^4.0.0-rc.1",
    "autoprefixer": "^7.2.2",
    "call-number": "^1.0.1",
    "cordova": "^8.0.0",
    "cordova-android": "6.2.3",
    "cordova-ios": "4.5.4",
    "cordova-plugin-compat": "^1.2.0",
    "cordova-plugin-crosswalk-webview": "^2.4.0",
    "cordova-plugin-device": "^1.1.4",
    "cordova-plugin-disable-ios11-statusbar": "^1.0.0",
    "cordova-plugin-file": "^4.3.3",
    "cordova-plugin-file-transfer": "^1.7.1",
    "cordova-plugin-ionic-webview": "^1.1.16",
    "cordova-plugin-media-capture": "^1.4.3",
    "cordova-plugin-network-information": "^2.0.1",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-statusbar": "^2.2.2",
    "cordova-plugin-whitelist": "^1.3.1",
    "cordova-sqlite-storage": "^2.1.2",
    "firebase": "^4.1.3",
    "ionic-angular": "3.9.2",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionic2-zoom-area": "^1.0.14",
    "ionicons": "3.0.0",
    "localforage": "^1.5.5",
    "localforage-cordovasqlitedriver": "^1.6.0",
    "ng-imgcache": "^1.0.1",
    "onesignal-cordova-plugin": "^2.2.4",
    "promise-polyfill": "6.0.2",
    "reflect-metadata": "^0.1.3",
    "rxjs": "5.5.8",
    "save": "^2.3.2",
    "sw-toolbox": "3.6.0",
    "webpack": "^4.4.1",
    "zone.js": "0.8.20"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.1.1",
    "@ionic/cli-plugin-cordova": "1.2.1",
    "@ionic/cli-plugin-ionic-angular": "1.2.0",
    "ionic": "3.9.2",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-whitelist": {},
      "ionic-plugin-keyboard": {},
      "cordova-plugin-media-capture": {
        "CAMERA_USAGE_DESCRIPTION": "App would like to access the camera.",
        "MICROPHONE_USAGE_DESCRIPTION": "App would like to access the microphone.",
        "PHOTOLIBRARY_USAGE_DESCRIPTION": "App would like to access the library.",
        "ITSAppUsesNonExemptEncryption": "NO"
      },
      "cordova-sqlite-storage": {},
      "cordova-plugin-compat": {},
      "onesignal-cordova-plugin": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-network-information": {},
      "cordova-plugin-file": {},
      "cordova-plugin-disable-ios11-statusbar": {},
      "cordova-plugin-crosswalk-webview": {
        "XWALK_VERSION": "23+",
        "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
        "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
        "XWALK_MODE": "embedded",
        "XWALK_MULTIPLEAPK": "true"
      }
    },
    "platforms": [
      "ios",
      "android"
    ]
  },
  "config": {
    "ionic_purge_unused_fonts": false
  }
}```
#3

The solution is using Ionic 4 running on StencilJS and Capacitor.

Official release of this stack will come in few months.

1 Like
#4

My performance on android is also very bad comparing to ios.