hello,

we would like to offer our user the option to enable/disable receiving push messages. what is the best method to do it - please consider our app is already live and running (with push messages)

asked 09 Jun '15, 10:31
inon's gravatar image

inon
31115

Hey Inon,

  1. Yes, both solutions can be implemented for iOS and Android;

  2. That depends on the rule you will be using for targeting. In case you will use something like ["Notifications", "EQ", "On"], then your users with the old version of the app will not be receiving anything. The only way you can include your users with the old version of the app into your broadcast push is using the NOTEQ operator. For this case I suggest using the /createTargetedMessage request.

See Advanced Tags Guide for more details:

https://www.pushwoosh.com/programming-push-notification/advanced-tags-guide/

permanent link
answered 10 Jun '15, 09:30
Andrew_H's gravatar image

Andrew_H
3766

Hi Andrew,

and thank you for your answer. 2 question:

  1. are these 2 methods applies both on IOS and Android?
  2. if I'll use the Tag system, what do I do with all our existing users - will I be able to put them all under the new Tag from your end?

Thanks,

Inon

permanent link
answered 09 Jun '15, 12:32
inon's gravatar image

inon
31115

Hello,

Generally, there are two ways to achieve that:

  1. You can add some custom buttons into your application which will call registerDevice/unregisterDevice methods within the app.
  2. You can create custom string (or another convenient type) Tag named, for example, "Notifications" and let your users subscribe to it. After that you can set the appropriate value for this Tag ("On" and "Off", for example) within your application and target your users according to it.

Please note that such functionality requires additional development and, therefore, you will need to update your live application when implementation is done.

permanent link
answered 09 Jun '15, 12:16
Andrew_H's gravatar image

Andrew_H
3766

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:

×444
×6
×3

question asked: 09 Jun '15, 10:31

question was seen: 2,037 times

last updated: 10 Jun '15, 09:30