@ionic-native/app-update app crash

#1

I have followed the instructions from the Ionic Native documentation (https://ionicframework.com/docs/native/app-update/) to start implementing app updates - however when I install the packages:

ionic cordova plugin add cordova-plugin-app-update
npm install --save @ionic-native/app-update

and I debug the app on my device using the following command:

ionic cordova run android --device --livereload --stacktrace --debug --status

The app just crashes before even opening - before the splash screen, it just crashes.

I have replicated this be creating a new ‘blank’ app, running those commands, and it just crashes. Running the app normally by ionic serve works fine in the browser.

I cannot find any topic on where to find logs of any kind when the app is launched and crashes - where do I start to get this working?

Thank you in advance.

#2

Hi there,

im currently facing the same issue

my current setup
-cordova 8.0.0
-ionic 4.0.1

this fix works for me:
just use android 6.3.0 when adding platform
ionic cordova platform add android@6.3.0