I have followed http://docs.pushwoosh.com/docs/web-sdk-20 link integrate pushwoosh for web(chrome, firefox)

I have taken the following steps:

  • Removed any references to the old service-worker.js from my site.

  • Included the manifest link in my header (before any other manifest links).

  • Removed my site in firefox notification settings so I will be prompted to allow notifications again.
  • Uploaded pushwoosh-service-worker-light.js and pushwoosh-service-worker-dark.js to my site root.
  • Included the code in my site header as per the sdk 2.0 documentation(adjusting applocationCode variable etc as necessary)
  • Clear the cache in firefox browser and cloudflare, verified new code is in place via "view source".
  • Visit my site on firefox, get prompted to allow notifications and select "always allow notifications".
  • Log into pushwoosh control panel, I show as a new subscriber okay.
  • Send pushwoosh to firefox only to test but the new firefox subscriber gets removed and the notification never delivers.

But when I have tried to sent push notification from pushwoosh (https://go.pushwoosh.com/applications/xxxxx-xxxxx)

then I have got following error in Push History (https://go.pushwoosh.com/notifications?field=application&value=xxxxx-xxxxx) for Chrome and Firefox.

Error for chrome:

  • "The device token has expired, or the application was unregistered from notifications"

Error for Firefox:

  • "The pushtoken is not recognized by Mozilla"

But,pushwoosh push notification work properly for android and ios. I have got success in push history.

asked 21 Sep '16, 09:42
wodev01's gravatar image



If you already had GCM configured but Credentials became invalid due to the last Google update, please refer to this guide for the solution: http://docs.pushwoosh.com/docs/fcm-configuration#enable-fcm-and-get-credentials

permanent link
answered 26 Sep '16, 04:56
Oleg%20Zhukov's gravatar image

Oleg Zhukov

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 21 Sep '16, 09:42

question was seen: 1,299 times

last updated: 26 Sep '16, 04:56