11 Replies Latest reply on Jun 12, 2017 10:05 PM by howard_owens

    PushNotification undefined

    howard_owens Level 1

      The tag in my config.xml file:

          <plugin name="phonegap-plugin-push" source="npm">

              <param name="SENDER_ID" value="needed for android" />



      After doing a build, this is in my list of plugins


      phonegap-plugin-push   npm*2.0.0-rc4n/aandroid,ios,winphone


      But any script i run that tries to use PushNotification, I get an undefined error.


      If I enter PushNotification into the console, I get undefined.


      Any idea why? 


      my app id is: 2557293