Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19714] Add Ti.UI.iOS.ApplicationShortcuts.getDynamicShortcut()

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-10-13T20:59:15.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sRelease 5.1.0
ComponentsiOS
Labelsn/a
ReporterFokke Zandbergen
AssigneeHans Knöchel
Created2015-10-11T18:30:22.000+0000
Updated2015-10-15T22:20:03.000+0000

Description

I'd find it useful to have Ti.UI.iOS.ApplicationShortcuts.getDynamicShortcut(type) so that I can check if the userInfo of that shortcut is what I want it to be or if I need to remove and add one with another. It would be even more useful if I could update the userInfo property on the object returned, but then it would need to be a full proxy instead of a JS object so that would be more work.

Comments

  1. Fokke Zandbergen 2015-10-13

    Verified fixed by https://github.com/appcelerator/titanium_mobile/pull/7290 with https://github.com/appcelerator-developer-relations/appc-sample-3dtouch
  2. Hans Knöchel 2015-10-13

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/7290 PR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7298
  3. Harry Bryant 2015-10-15

    Verified fixed. Tested demo code on iPhone 6S Plus and all features work correctly. Closing ticket. OSX El Capitan 10.11 Studio: 4.3.1.201509302304 Ti SDK: 5.2.0.v20151014151229 Appc NPM: 4.2.1-1 Appc CLI: 5.1.0-38

JSON Source