Hi, sorry for another of this post but i just had a Phonegap app waiting to publish for about 8 months and I wanted to updated to the latest phonegap version and really forgot how to do this.

The point is that I get the above error message when I try to associate the application to the service.

I have the initPushwoosh(); inside of initialize: function() in the phonegap index.js.

I also have the <script type="text/javascript" src="PushNotification.js"></script> below the cordova and index.js script tags.

Any help would be appreciated it. Thanks

EDIT

I am also getting that this required is not defined

var exec = require('cordova/exec');

I think that i have not properly installed the pushwoosh service on my app

asked 11 Sep '14, 22:25
Jocis's gravatar image

Jocis
13

edited 11 Sep '14, 22:30

Be the first one to answer this question!
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:

×446
×326
×165

question asked: 11 Sep '14, 22:25

question was seen: 2,211 times

last updated: 11 Sep '14, 22:30