I am trying to get custom tags to work on my Adobe air app. I have defined a new int tag in the console and added:

pushwoosh.setIntTag("maxLevel", 1);

to my code.

Tried many different locations for this line, in the event handler, before registration and after registration but nothing seems to work.

In the console, the small graph near this tag is not clickable, so I cannot see if any device sent a value for this tag, and when I try a filter, the notification does not arrive at all.

What might I am doing wrong?

asked 08 Apr '14, 20:41
rankorn's gravatar image


edited 08 Apr '14, 20:41


Have you tried to add the line you provided in the "onToken" method?

public function onToken(e:PushNotificationEvent):void{ trace("\n TOKEN: " + e.token + " "); }

As for the the graph button, this behaviour is actually normal: this button would be clickable as soon as any Tag values are stored in our database.

If it doesn't help, please get in touch with our Support Team via Contact us form on our website (http://www.pushwoosh.com/contact-us/)

permanent link
answered 09 Apr '14, 09:18
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev

Hello Dmitry, thanks for answering.

I have tried what you suggested, but will try this again and post my results here. I understand this must be called after the registration is finished.

I will also check with logcat and maybe I will find some exceptions.


permanent link
answered 09 Apr '14, 10:44
rankorn's gravatar image


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: 08 Apr '14, 20:41

question was seen: 886 times

last updated: 09 Apr '14, 10:44