I'm working on a Phonegap application(phonegap version 5.1.1-0.29.0) with iOS (xCode 6.4,iOS 7 and above on OSX Yosemite). The application was working fine until I added the pushwoosh push notification plugin by following the instructions provided on the pushwoosh phonegap documentation (http://docs.pushwoosh.com/docs/cordova-phonegap).

But after adding the plugin I'm getting an error which says "ReferenceError : Cant find the variable Cordova". As of now I've not added any code specific to push notification to my app. I've also made the entry in config.xml as:

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

Not sure what is the problem here, any help would be appreciated.

asked 20 Aug '15, 11:40
shantanudhankar's gravatar image

shantanudhankar
113

edited 20 Aug '15, 11:42

Hello! Can you try our sample app and see whether the issue reproduces?

permanent link
answered 20 Aug '15, 11:49
Benedict's gravatar image

Benedict
7127

Hi Again, I converted the sample application above into a phonegap iphone application and tried it on the device.It is still not working...In the index.js, inside the initPushwoosh function, it gives me an error saying that : "Can't find the variable : device".

(24 Aug '15, 08:44) shantanudhankar shantanudhankar's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×444
×352
×165

question asked: 20 Aug '15, 11:40

question was seen: 944 times

last updated: 24 Aug '15, 08:44