@richguo wrote:
Hello Guys -
I am having a Problem with my View not beeing updated properly on my Ionic2 android App.
This problem appear in Android 6.0.1, but not appear in Android 5.0.I tried ApplicationRef.tick() , NgZone.run(callback), ChangeDetectorRef.detectChanges(), and these can’t solve the problem. (Android 6.0.1)
View does not update util I touch somewhere of screen, or trigger a select…etc.
here is my view
util I touch somewhere or trigger select, it show data immediately.
and here is my sample code:
My Package:
“dependencies”: {
"@angular/common": “5.0.0”,
"@angular/compiler": “5.0.0”,
"@angular/compiler-cli": “5.0.0”,
"@angular/core": “5.0.0”,
"@angular/forms": “5.0.0”,
"@angular/http": “5.0.0”,
"@angular/platform-browser": “5.0.0”,
"@angular/platform-browser-dynamic": “5.0.0”,
"@ionic-native/camera": “^4.4.2”,
"@ionic-native/core": “4.3.2”,
"@ionic-native/file": “^4.3.1”,
"@ionic-native/file-transfer": “^4.4.2”,
"@ionic-native/in-app-browser": “^4.4.2”,
"@ionic-native/splash-screen": “4.3.2”,
"@ionic-native/status-bar": “4.3.2”,
"@ionic/storage": “2.1.3”,
“cordova-android”: “^6.3.0”,
“cordova-ios”: “^4.5.0”,
“cordova-plugin-camera”: “^2.4.1”,
“cordova-plugin-compat”: “^1.2.0”,
“cordova-plugin-device”: “^1.1.4”,
“cordova-plugin-file”: “^4.3.1”,
“cordova-plugin-file-transfer”: “^1.6.1”,
“cordova-plugin-inappbrowser”: “^1.7.2”,
“cordova-plugin-ionic-webview”: “^1.1.16”,
“cordova-plugin-splashscreen”: “^4.0.3”,
“cordova-plugin-statusbar”: “^2.2.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“ionic-angular”: “nightly”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“rxjs”: “5.5.2”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
"@ionic/app-scripts": “nightly”,
“typescript”: “2.4.2”
},Thanks for your answers
Posts: 1
Participants: 1