Deploy throwing "plugin_not_installed" error

I recently installed the Plugin for Bar code scanner, The app works great when creating a debug code and even in ionic view as well, But when I deploy the application , the plugin stops functioning , and i get an error plugin_not_installed.

If I skip Deploy and just upload the entire .apk to Google Play and the App Store, it works fine. Deploy is the only thing that isn’t working. But Deploy is kind of important. :frowning:

Anyone have any suggestions?