I'm working on a app which is using Local Notifications. It has been working for a while but since i recently launch the app to test them they crash with a stack trace.
It only seems to happen when calling:
Ti.App.iOS.addEventListener('notification',function(){ Ti.API.info('background event received = '+notification); });If i remove that listener it works but i can't cancel notifications then. It happens with 1.6.2 and 1.7.0
While it does work in the KitchenSink and i'm using exactly that code..
Error:
*** Terminating app due to uncaught exception' NSInvalidArgumentException', reason: ' -[__NSCFDictionarysetObject:forKey:]: attempt to insert nil value (key: userInfo)'If somebody had this as well please tell me how it got solved. I can't seem to figure it out..
Thanks!
1 Answer
Have you found a solution? Seems I have the same problem!
Your Answer
Think you can help? Login to answer this question!