Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2784] scheduleLocalNotifications userData is not present in event

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2012-02-29T13:38:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsiphone, notification, schedulelocalnotification
ReporterGruber Kristóf
AssigneeMauro Parra-Miranda
Created2012-01-12T05:00:00.000+0000
Updated2016-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.

Comments

  1. Mauro Parra-Miranda 2012-02-29

    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
  2. Gruber Kristóf 2012-02-29

    Have you tested it or just closing it? I think this problem is not yet fixed.
  3. Mauro Parra-Miranda 2012-02-29

    Tested, latest CI build. Where is happening to you?
  4. Gruber Kristóf 2012-02-29

    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.)
  5. Mauro Parra-Miranda 2012-02-29

    Glad to read this :-) Best, Mauro
  6. Mauro Parra-Miranda 2013-11-24

    Invalid issue.

JSON Source