Pushwoosh / pushwoosh-appcelerator-titanium

Other
33 stars 16 forks source link

Problem related with setTags method #3

Closed juanblo closed 9 years ago

juanblo commented 9 years ago

Hi,

I'm using the module version 1.0 and 1.1 but on iOS I'm getting this error using the setTags method:

[ERROR] Pushwoosh: Invalid argument. Expected argument of type NSDictionary [ERROR] tags must be NSDictionary

The code used is:

var city = "bogota";
pushNotifications.setTags({city_slug: city});

I've trying with quotes:

var city = "bogota";
pushNotifications.setTags({"city_slug": city});

but the error persist (only on iOS). Some idea to fix this ? Thx

juanblo commented 9 years ago

Hi guys,

Any news about this bug ?

shaders commented 9 years ago

Please try the updated version, the bug should be fixed there. (The plugin version still the same yet).

juanblo commented 9 years ago

Hi shaders,

Thanks, it works !