carlosflores last edited by
I’m a new user here in monaca, i have read all the documentation about monaca to import Cordova CLI projects from Telerik, all work fine. but i need to install a pluging named (PushNotifications) of cordova, (https://github.com/Pushwoosh/pushwoosh-phonegap-plugin), Could someone help me to install that pluging and configurate?
@carlosflores What kind of issue do you have when installing this plugin? If you are using Cordova 7.1 in your project, you will need to make some configuration in the
config.xmlfile. For more information regarding this issue, please refer to Support for Cordova-Android 7.
carlosflores last edited by carlosflores
@khemry I installed the plugin with the support of “Import Cordova Plugin” the url was https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git, I have configured the following lines in the config.xml file
<plugin name = “pushwoosh-cordova-plugin” version = “7.5.0” />
<feature name = “PushNotification”>
<param name = “android-package” value = “pushwoosh-cordova-plugin” />
And in my code I use the following “plugins.pushNotification.onDeviceReady”
But I get the following error “onDeviceReady does not exist”
Do I have to configure something other than the config.xml?
How can i debug an external plugins?
when i build the APP for android i got the next log
Discovered plugin “pushwoosh-cordova-plugin” in config.xml. Adding it to the project
Fetching plugin “https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git” via git clone
Repository “https://github.com/Pushwoosh/pushwoosh-phonegap-plugin.git” checked out to git ref “master”.
Installing “pushwoosh-cordova-plugin” for android
Subproject Path: CordovaLib
Adding pushwoosh-cordova-plugin to package.json
Saved plugin info for “pushwoosh-cordova-plugin” to config.xml
@carlosflores So I’ve just tried to import the plugin myself. You don’t need any configuration regarding this plugin in
config.xmlfile. Then, add
cordova-plugin-enable-multidexplugin to your project. This way the build will succeed.
alicekud87 last edited by
This post is deleted!