Closed phyp closed 10 years ago
Hi,
I try to use the local-notification plugin in combination with PGB. However, when uploading the zip-File of the project to PGB I get the following error:
"plugin unsupported: de.appplant.cordova.plugin.local-notification @ 0.6.3"
My config.xml looks like:
<?xml version="1.0" encoding="UTF-8" ?> <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "com.phonegap.test" versionCode = "01" version = "0.0.1" > <!-- versionCode is optional and Android only --> <name>test</name> <gap:platform name="ios" /> <gap:platform name="android" /> <gap:plugin name="de.appplant.cordova.plugin.local-notification" version="0.6.3" /> </widget>
When I delete the gap:plugin-line I do not get the error. Of course, the code isn't working then ...
Any suggestions what to change?
Thanks, Patrick
Maybe your phonegap version isn't supported (< 3.0)?
You've been right!
I added
<preference name="phonegap-version" value="3.1.0" />
to my config.xml and now it works.
Thanks for the fast reply.
Hi,
I try to use the local-notification plugin in combination with PGB. However, when uploading the zip-File of the project to PGB I get the following error:
"plugin unsupported: de.appplant.cordova.plugin.local-notification @ 0.6.3"
My config.xml looks like:
When I delete the gap:plugin-line I do not get the error. Of course, the code isn't working then ...
Any suggestions what to change?
Thanks, Patrick