When calling the Pushwoosh.register() everything succeed's except for hte event listener in the createSuccess function.

It is trying to add document.addEventListener('invoked', pushwoosh.onInvoke); to the DOM but failing

Error initializing invoked listener: undefined is the error.

I can add other events such as invoke or push-notification using the pushwoosh.onInvoke function with no errors. It is only on invoked does the error happen.

asked 03 Jun '15, 20:16
casualbot's gravatar image

casualbot
111

Could you please try the updated script, this has been fixed

permanent link
answered 24 Jun '15, 16:32
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:

×14
×12
×10

question asked: 03 Jun '15, 20:16

question was seen: 665 times

last updated: 24 Jun '15, 16:32