Bluetooth serial plugin is not working with - - prod flag build

My bluetooth app is running well when I am building the app with “ionic cordova build android” command. BUT when I am building my app with - - prod flag i. e “ionic cordova build android - - prod”, my app is not getting access to the BLUETOOTH SERIAL cordova plugin and throwing error.

I am using …
ionic-angular “3.7.1” ,
ionic-native/core "4.3.0"
ionic-native/bluetooth serial “4.3.2”