Does phonegap pushNotifications plugin work with Cordova build?

I am struggling with making this pushNotifications plugin work on my Cordova built app.

In the config.xml file, the plugin reference is :

<gap:plugin name="com.phonegap.plugins.PushPlugin"/>

while references to other plugins I am using are different :

    <feature name="Device">
        <param name="ios-package" value="CDVDevice" />

    <feature name="Geolocation">
        <param name="ios-package" value="CDVLocation" />

Is this plugin supposed to work with both Phonegap and Cordova or only Phonegap built apps ?

Thank you


adding the line

<gap:plugin name="com.phonegap.plugins.PushPlugin"/>

in config.xml is the way you add a plugin with the phonegap build service.

When you are doing local builds for cordova or phonegap, you should use the CLI (command line interface) to add plugins.

For the push plugin, either launch

phonegap local plugin add


cordova plugin add

Need Your Help

Inject in ngMock for jasmine test not work

jasmine karma-runner inject ngmock

I have a problem with injection dependency service in my test. I tried inject in different ways, but problem still stays.

how to save an edited image from qgraphicsview in QT

c++ image qt

I am writing codes to load in image from a file and did some edits on this image(change some pixels' value), zoomed in or zoomed out and then save the image. I tried to use qgraphicview and