Hey, I followed the plugin instructions for iOS and cordova. I have the ondeviceready event triggered when needed, but the InitPushwoosh() function is failed on it first line:

TypeError: undefined is not an object (evaluating 'window.plugins.pushNotification').

I'm using cordova 3.6, Xcode 6 and iPhone 6 with iOS 8.

Can I get any direction about what's broken?

Thanks

asked 10 Nov '14, 12:18
bend0303's gravatar image

bend0303
1113

Please make sure you added plugin correctly. So far it looks like Pushwoosh plugin is not installed correctly.
You can also check it by cordova plugins list command.

permanent link
answered 24 Nov '14, 09:31
shader's gravatar image

shader
3.9k7

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:

×446
×353
×190

question asked: 10 Nov '14, 12:18

question was seen: 8,499 times

last updated: 24 Nov '14, 09:31