katzer / cordova-plugin-local-notifications

Cordova Local-Notification Plugin
Apache License 2.0
2.56k stars 1.75k forks source link

PGB Error plugin unsupported 0.6.3 #70

Closed phyp closed 10 years ago

phyp commented 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

katzer commented 10 years ago

Maybe your phonegap version isn't supported (< 3.0)?

phyp commented 10 years ago

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.