Image picker not working in Ionic 4 app

Just installed the image picker in my Ionic 4 application and it just crashes the app on my Android device, I have no idea what the issue is as I cant get any debug information out :confused:

Has anybody got this plugin working?

Found the solution on line, for anybody else looking: -

  1. cordova plugin add cordova-android-support-gradle-release
  2. ionic cordova platform rm android
  3. ionic cordova platform add android
  4. ionic cordova build android