Hi,
i’ve implemented push messages using netmera.com according to this very usefull tutorial: http://forums.coronalabs.com/topic/35846-whos-using-what-for-push-notifications/page-2
On Android everything works fine, but on iOS the app “quit-crashes” as soon the push arrives with a custom data table. Without custom data it works (sending just the alert string)
It’s also not possible to push a badge number, it just doesn’t arrive.
This is the xcode console output on the device when it’s crashing. I’m using an iPhone3GS:
\<Error\>: -[\_\_NSCFString count]: unrecognized selector sent to instance 0x1c529a90 \<Error\>: \*\*\* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[\_\_NSCFString count]: unrecognized selector sent to instance 0x1c529a90' \*\*\* First throw call stack: (0x341ae2a3 0x3be0897f 0x341b1e07 0x341b0531 0x34107f68 0x70a77 0x90285 0x764a1 0x767d5 0x76de3 0x36016ad9 0x36016663 0x3600e84b 0x35fb6c39 0x35fb66cd 0x35fb611b 0x37c725a3 0x34183683 0x34182ee9 0x34181cb7 0x340f4ebd 0x340f4d49 0x3600d485 0x3600a301 0x43f7f 0x43f38)
Not sure if this is a netmera problem or not. But it seems there is a bug parsing the custom string…
Thanks and all the best.