[AC-2784] scheduleLocalNotifications userData is not present in event
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-02-29T13:38:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | iphone, notification, schedulelocalnotification |
Reporter | Gruber Kristóf |
Assignee | Mauro Parra-Miranda |
Created | 2012-01-12T05:00:00.000+0000 |
Updated | 2016-03-08T07:47:42.000+0000 |
Description
The documentation says that the scheduleLocalNotification function's userData parameters sould be passed in the event object of the receiving event listener. It is not present neither in the resume nor the notification event. Without this, you are not able to bring the user to the proper part of your application if they press the button on your notification.
Hello, you have the userInfo property in order to accomplish this. Check the docs here: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.App.iOS.scheduleLocalNotification-method.html Best, Mauro
Have you tested it or just closing it? I think this problem is not yet fixed.
Tested, latest CI build. Where is happening to you?
I've tested it and it seems working fine in 1.8.1. Weird, I did not find it in the changelogs, so I tought it is still buggy. (It is definetly broken in 1.7.5, just tested with Kitchen Sink.)
Glad to read this :-) Best, Mauro
Invalid issue.