Hello,

How to trigger browser pushwoosh init event based on manually as a by JS click event Please let me know if you have any idea? because i want to use that code on angularjs

<script type="text/javascript"> var Pushwoosh = Pushwoosh || []; Pushwoosh.push(['init', { logLevel: 'info', // possible values: error, info, debug applicationCode: 'XXXXX-XXXXX', // you application code from Pushwoosh Control Panel safariWebsitePushID: 'web.com.example.domain', // unique reverse-domain string, obtained in you Apple Developer Portal defaultNotificationTitle: 'Pushwoosh', // sets a default title for push notifications defaultNotificationImage: 'https://yoursite.com/img/logo-medium.png', // URL to custom custom notification image autoSubscribe: true, // or false. If true, promts a user to subscribe for pushes upon SDK initialization userId: 'userId', // optional, set custom user ID tags: { 'Name': 'John Smith' // optional, set custom Tags } }]); </script>

Thank you in advance

Regards

asked 18 Oct '17, 05:43
himanshuipe's gravatar image

himanshuipe
114

Hello,

As far as I can see you already have a conversation with our Support Team.

Ivan

permanent link
answered 01 Nov '17, 12:02
iskoritzky's gravatar image

iskoritzky
3778

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:

×438
×321
×13

question asked: 18 Oct '17, 05:43

question was seen: 110 times

last updated: 01 Nov '17, 12:02