App crashes on capturing image using media capture plugin

I am building an application using the media capture plugin . The application works fine in android version v5, v6 and v7 but crashing in android version 8.i am using media capture plugin version 3.0.2.

i have referred and but with no success.

here is my ionic info output:

cli packages: (/usr/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.2.0
Cordova Platforms  : android 7.1.4
Ionic Framework    : ionic-angular 3.9.2


Node : v8.11.3
npm  : 6.3.0 
OS   : Linux 4.15

Environment Variables:

ANDROID_HOME : not set


backend : pro

i am facing some problems in chrome developer tools so sorry i am not able to post my debug info using chrome developer tools.

any help would be greatly appreciated.

Thanks in advance