Skip to content

v4: cli rc 11 get white screen on android #14810

@c350156378

Description

@c350156378

Bug Report

Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.

Ionic:

   ionic (Ionic CLI)          : 4.0.0-rc.11 (D:\Users\Administrator\AppData\Roaming\nvm\v8.11.1\node_modules\ionic)
   Ionic Framework            : @ionic/angular 4.0.0-alpha.11
   @angular-devkit/core       : 0.7.0-rc.2
   @angular-devkit/schematics : 0.7.0-rc.2
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0-rc.11
   @ionic/schematics-angular  : 1.0.0-rc.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none

System:

   Android SDK Tools : 26.1.1
   NodeJS            : v8.11.1 (C:\Program Files\nodejs\node.exe)
   npm               : 5.6.0
   OS                : Windows 7

Environment:

   ANDROID_HOME : C:\Users\Administrator\AppData\Local\Android\sdk

Describe the Bug
generate project with cli rc11, run it on my android phone ,get whitescreen;
rm webview plugin and readd the beta version, run again. still whitescreen;

Steps to Reproduce
Steps to reproduce the behavior:

  1. run cli, choose angular type
  2. rm cordova-plugin-ionic-webview
  3. readd cordova-plugin-ionic-webview@beta
  4. run the app on android, get white screen

Related Code
inspect with chrome and get the error below

 Uncaught SyntaxError: Unexpected token function     vendor.js:65052

which refers to the async function attachComponent in

/***/ "./node_modules/@ionic/core/dist/collection/utils/framework-delegate.js":

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions