When i build my app locally with $ ionic cordova build android
and install the APK on my mobile device it all works fine. When i deploy through Ionic Pro with same codebase it gives me this error.
the cordova-plugin-ionic plugin is not installed. Install it for better device information for runtime errors.
And it is stuck at the splashscreen.
In the Ionic Pro build log it gives me this output when it run the ionic info command:
[12:55:34]: ▸ ✔ Gathering environment info - done!
[12:55:34]: ▸ Ionic:
[12:55:34]: ▸ ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
[12:55:34]: ▸ Ionic Framework : @ionic/angular 4.0.0-beta.16
[12:55:34]: ▸ @angular-devkit/core : 7.0.6
[12:55:34]: ▸ @angular-devkit/schematics : 7.0.6
[12:55:34]: ▸ @angular/cli : 7.0.6
[12:55:34]: ▸ @ionic/ng-toolkit : 1.1.0
[12:55:34]: ▸ @ionic/schematics-angular : 1.0.7
[12:55:34]: ▸ Cordova:
[12:55:34]: ▸ cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
[12:55:34]: ▸ Cordova Platforms : none
[12:55:34]: ▸ Cordova Plugins : no whitelisted plugins (0 plugins total)
[12:55:34]: ▸ System:
[12:55:34]: ▸ Android SDK Tools : 26.0.1 (/opt/android-sdk)
[12:55:34]: ▸ NodeJS : v8.12.0 (/usr/local/bin/node)
[12:55:34]: ▸ npm : 6.4.1
[12:55:34]: ▸ OS : Linux 4.14
And this is the output when i run the same locally
Ionic:
ionic (Ionic CLI) : 4.4.0 (C:\nvm\v10.7.0\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.16
@angular-devkit/build-angular : 0.10.6
@angular-devkit/schematics : 7.0.6
@angular/cli : 7.0.6
@ionic/angular-toolkit : 1.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : not available
Cordova Plugins : cordova-plugin-ionic 5.2.7, cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.5, (and 8 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\AndroidSDK)
NodeJS : v10.7.0 (C:\Program Files\nodejs\node.exe)
npm : 6.1.0
OS : Windows 10
Can anyone pintpoint something that is wrong here?