Error with plugin when i'm trying to run apk in --prod

In debug mode works fine:


vendor.js:1 Install the BackgroundMode plugin: 'ionic cordova plugin add cordova-plugin-background-mode'
E @ vendor.js:1
vendor.js:1 Native: tried calling BackgroundMode.enable, but the BackgroundMode plugin is not installed.
E @ vendor.js:1
vendor.js:1 Install the BackgroundMode plugin: 'ionic cordova plugin add cordova-plugin-background-mode'

I reinstalled the plugin but doesn’t works and the app doesn’t starts