Has anyone worked with TAGS and Corona SDK on pushwoosh?
I created this code to send the tags, but when I try to insert them in the notification, the notification arrives empty.
See my code:
Local commands_json =
{
[“request”] = {
[“application”] = PW_APPLICATION,
[“push_token”] = deviceToken,
[“language”] = system.getPreference (“ui”, “language”),
[“HWID”] = system.getInfo (“deviceID”)
[“timezone”] = -3600, --offset in seconds
[“device_type”] = DeviceType,
[“tags”] = {
[“name”] = “john”
[“client”] = “Klabin”
},
},
}
And my print.
Can someone help me?
And message tag arrive empty!
________________________________________________________________________________________________________
Alguém já trabalhou com TAGS e Corona SDK no pushwoosh?
Eu criei esse codigo para enviar as tags, mas quando tento inserí-las na notificação, a notificação chega vazia.
Veja meu código:
local commands_json =
{
[“request”] = {
[“application”] = PW_APPLICATION,
[“push_token”] = deviceToken,
[“language”] = system.getPreference(“ui”, “language”),
[“hwid”] = system.getInfo(“deviceID”),
[“timezone”] = -3600, --offset in seconds
[“device_type”] = deviceType,
[“tags”] = {
[“nome”] = “joao” ,
[“cliente”] = “Klabin”
},
},
}
And my print.
Alguém pode me ajudar?