[TIMOB-19714] Add Ti.UI.iOS.ApplicationShortcuts.getDynamicShortcut()
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-10-13T20:59:15.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | Release 5.1.0 |
Components | iOS |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Hans Knöchel |
Created | 2015-10-11T18:30:22.000+0000 |
Updated | 2015-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.
Verified fixed by https://github.com/appcelerator/titanium_mobile/pull/7290 with https://github.com/appcelerator-developer-relations/appc-sample-3dtouch
PR (master): https://github.com/appcelerator/titanium_mobile/pull/7290 PR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7298
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