Local Notification crash

You must Login before you can answer or comment on any questions.

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(){'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..


*** 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..


— asked 4 years ago by J T

1 Answer

Have you found a solution? Seems I have the same problem!

— answered 4 years ago by Jean-Philippe Boily
answer permalink
1 Comment
  • The issue appears only when you made your project using Titanium Studio.. Don't know why yet, when i used Titanium Developer to create a project it disappeared..

    — commented 4 years ago by J T

Your Answer

Think you can help? Login to answer this question!