Hello,

I would like to show a window with the privileges of the notification at a particular time and not immediately after the page loads.

So I tried the following method: I set the autoSubscribe parameter to false,

     Pushwoosh.push (["init:, {autoSubscribe: false,...}]);

Later, at the right time run method:

     Pushwoosh.push ([ 'subscribe' _this._subscribeCallback.bind (_this)]);

I get the following message: Device debug register call it Pushwoosh has been successful

But when I try to run

    api.setTags ({ 'tag': 'tag'})

I get the following message:

Uncaught (in promise) Error: No subscription at new t (PushwooshError.js 3) WorkerInit.js at 82

Is there any solution to this problem?

asked 03 Feb, 11:28
Herezad's gravatar image

Herezad
111

Hi! At the moment, user is always prompted to opt-in for notifications as soon as our SDK is initiated. The ability to postpone this even will be added in Web SDK 3.0 which is about ti be released. Stay tuned!

permanent link
answered 14 Mar, 09:44
idedov's gravatar image

idedov
2263

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:

×9
×5
×4

question asked: 03 Feb, 11:28

question was seen: 371 times

last updated: 14 Mar, 09:44