Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70747

Ionic 3.9.x app doesn't run with Android 5.x device. : Unexpected token Illegal

$
0
0

@fuekor61 wrote:

After upgrading an app from ionic 3.6 i experienced an erro on starting the app on android 5.x (at least). It works on a android 7 device.
Uncaught SyntaxError: Unexpected token ILLEGAL
As the app is relativelly complex with many plug-ins, i started a new clean project with the same result!
The error point to a line in main.js that seams to be the starting page:

var TabsPage = (function () {
    function TabsPage() {
        this.tab1Root = __WEBPACK_IMPORTED_MODULE_3__home_home__["a" /* HomePage */];
        this.tab2Root = __WEBPACK_IMPORTED_MODULE_1__about_about__["a" /* AboutPage */];
        this.tab3Root = __WEBPACK_IMPORTED_MODULE_2__contact_contact__["a" /* ContactPage */];
    }
    TabsPage = __decorate([
        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/projects/learning/test50/src/pages/tabs/tabs.html"*/`<ion-tabs>\n  <ion-tab [root]="tab1Root" tabTitle="Home" tabIcon="home"></ion-tab>\n  <ion-tab [root]="tab2Root" tabTitle="About" tabIcon="information-circle"></ion-tab>\n  <ion-tab [root]="tab3Root" tabTitle="Contact" tabIcon="contacts"></ion-tab>\n</ion-tabs>\n`/*ion-inline-end:"/projects/learning/test50/src/pages/tabs/tabs.html"*/
        }),
        __metadata("design:paramtypes", [])
    ], TabsPage);
    return TabsPage;
}())

I surfed the web but only found one entry that tells the same (Android 5.x) with no answer.
Can’t believe that such a major thing has not been detected more often, so what am I doing wrong or what is wrong.
Any help appreciated.
Regards from Manila

Ralph

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70747

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>