Open ShiChuanTaylors opened 7 years ago
After adding a 'read-more' component and used in one of the page, the app starts to behave differently in normal build and production build..
Dev build and Prod build should work exactly the same, but it is not.
Steps to reproduce: You can use this repo for the code base
ionic cordova run android --device -lcs
ionic cordova run android --device --prod
Which @ionic/app-scripts version are you using?
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.15.2 ionic (Ionic CLI) : 3.15.2 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.0.1 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.8.0 System: Android SDK Tools : 26.1.1 ios-deploy : 1.9.2 ios-sim : 4.1.1 Node : v7.6.0 npm : 4.1.2 OS : macOS Sierra Xcode : Xcode 9.0.1 Build version 9A1004
I have similar problem on my current project. LoadingCtrl's dismiss() method in --prod mode doesn't removes popover, which "covers" page. That's why UI freezes.
Short description of the problem:
After adding a 'read-more' component and used in one of the page, the app starts to behave differently in normal build and production build..
What behavior are you expecting?
Dev build and Prod build should work exactly the same, but it is not.
Steps to reproduce: You can use this repo for the code base
ionic cordova run android --device -lcs
ionic cordova run android --device --prod
Which @ionic/app-scripts version are you using?