How exactly did you create the project =>ionic start musicplayer
How exactly did you add the plugin(s) => after platform add…
adding plugins… a) ionic plugin add --save cordova-plugin-music-
controls
b) npm install --save @ionic-native/music-controls
How exactly did you integrate it in the code => i am calling the
function in constructor. using official ionic plugin documentation
4)How exactly are you running/building the project=> ionic run android --prod
5) When and where exactly do you get the error you are posting=> after build when i i run my apk . it shows white blank screen with the given error…
even the simple flashlight plugin hv the same issue.
i have worked with sqlite ionic native 3 earlier …all going fine but after cordova upgradation 7. there was gradle issue .so i i was back to cordova 6.5 yesterday again.
ordova CLI: 6.5.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.7
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.7.1
Xcode version: Not installed.
Hello Database Provider
vendor.js:1 Native: tried accessing the SQLite plugin but it's not installed.
S @ vendor.js:1
vendor.js:1 Install the SQLite plugin: 'ionic plugin add cordova-sqlite-storage'
S @ vendor.js:1
main.js:1 Unable to open database plugin_not_installed
I was also facing this issue in Ionic 3 Application in production only.
Plugins installed were App Versiong and AdMob Free
I just wrapped my methods in Platform ready then it was Resolved!!!
I given my comparison code in this link
For me mediacapture plugin is working fine with ionic cordova build android and ionic cordova run android. But it is showing plug in not installed error in web build using IONIC GIT.
I am calling all the Cordova plugins inside the platform ready method only. For me the issue is with related to media capture plugin which is working fine in android build,play store, iOS build… But it is showing plugin not installed error when using ionic webdeploy in both android and iOS version. Please help me to resolve the issue…
Please find reply I received from IONIC team regarding this query…
Bryant Feld (Ionic Support)
Apr 24, 8:18 AM CDT
Hello Anoop,
Only non-binary changes can be pushed via live deploy (HTML/CSS/JS). Anything that changes the binary at the native level would require you to push a new release to the app store.
Thank you!
Bryant Feld | Developer Support Engineer | Support Center