Hello,
When receiving a push message on an iOS (os v. 7) device, if the “custom” payload is not formatted properly, the app will crash when opening after touching the push message alert. It would seem like a catch of some type should be implemented for this issue.
Apr 8 10:39:04 develephants-iPod SpringBoard[33] \<Warning\>: LICreateIconForImage passed NULL CGImageRef image Apr 8 10:39:04 develephants-iPod pushy[2329] \<Error\>: -[\_\_NSCFString count]: unrecognized selector sent to instance 0x1558cd50 Apr 8 10:39:04 develephants-iPod pushy[2329] \<Error\>: \*\*\* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[\_\_NSCFString count]: unrecognized selector sent to instance 0x1558cd50' \*\*\* First throw call stack: (0x2e661fd3 0x38daaccf 0x2e665967 0x2e664253 0x2e5b37f8 0x8f51b 0xaf889 0x10d11f 0x125971 0x95bd7 0x3108441d 0x31084237 0x30e83085 0x30e82871 0x30ee6cc9 0x334b8aed 0x334b86d7 0x2e62cab7 0x2e62ca53 0x2e62b227 0x2e595f4f 0x2e595d33 0x334b7663 0x30ee116d 0x8857f 0x88538) Apr 8 10:39:04 develephants-iPod ReportCrash[2412] \<Notice\>: ReportCrash acting against PID 2329 Apr 8 10:39:05 develephants-iPod ReportCrash[2412] \<Notice\>: Formulating crash report for process pushy[2329] Apr 8 10:39:05 develephants-iPod com.apple.launchd[1] (UIKitApplication:com.develephant.pushy[0xe03d][2329]) \<Warning\>: (UIKitApplication:com.develephant.pushy[0xe03d]) Job appears to have crashed: Abort trap: 6 Apr 8 10:39:05 develephants-iPod backboardd[28] \<Warning\>: Application 'UIKitApplication:com.develephant.pushy[0xe03d]' exited abnormally with signal 6: Abort trap: 6 Apr 8 10:39:05 develephants-iPod ReportCrash[2412] \<Notice\>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/pushy\_2014-04-08-103904\_develephants-iPod.ips using uid: 0 gid: 0, synthetic\_euid: 501 egid: 0
Additionally, the format for putting together the “custom” payload does not seem to be consistent between Android and iOS. The payloads need to be formatted differently to get them to work properly on each OS. Is that something that can be addressed within Corona?
Let me know if you need any other information.
Cheers.