Hello, im trying to use a plugin that i installed here, but im using f7 Core + cordova + webpack and i can call cordova.plugins.plugin-name
. There is other way to do it ? maybe, add the plugin into webpack config ?
Thank you.
Hello, im trying to use a plugin that i installed here, but im using f7 Core + cordova + webpack and i can call cordova.plugins.plugin-name
. There is other way to do it ? maybe, add the plugin into webpack config ?
Thank you.
I think that depends on the plugin itself. Some plugins register itself as global variable or like navigator.pluginname.method
, while others register like cordova.plugins.pluginname.method
. Check the docs for the specific plugin to see how it registers.