angular - Ionic 2 App fails to load on production build for android version 4.4.2 and below -
i building ionic v2 app , having issue older version of android.
on versions including or older 4.4.2, after splash screen white screen. if inspect app, error is:
uncaught error: no ngmodule metadata found 't'.
('t' in case 'appmodule' replaced t during minification step)
when build app development/debug build, app can run on devices running android 4.4.2. :
$ ionic cordova run android
however, if add --optimizejs or --release error message wrote above:
$ ionic cordova run android --release
or
$ ionic cordova run android --optimizejs
any ideas around this? should restrict api level 21 , above? guess there browser issue in 4.4.2.
i created new project scratch. added android platform back. reinstalled plugins. still gave me same results.
Comments
Post a Comment