Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25048] TiAPI: Android/iOS "ApplicationShortcuts" parity

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2018-10-29T23:25:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.5.0
ComponentsAndroid, iOS
Labelsdemo_app
ReporterGary Mathews
AssigneeGary Mathews
Created2017-08-01T15:49:45.000+0000
Updated2019-02-11T22:50:17.000+0000

Description

{quote} If your app targets Android 7.1 (API level 25) or higher, you can define shortcuts to specific actions in your app. These shortcuts can be displayed in a supported launcher. Shortcuts let your users quickly start common or recommended tasks within your app. {quote} - Expose the setDynamicShortcut API from the ShortcutManager [Documentation](https://developer.android.com/guide/topics/ui/shortcuts.html)

Comments

  1. Hans Knöchel 2017-08-08

    Existing iOS-equivalent: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.ApplicationShortcuts We can move it to the Ti.UI namespace for parity.
  2. Gary Mathews 2017-09-13

    master: https://github.com/appcelerator/titanium_mobile/pull/9426
  3. Hans Knöchel 2018-01-17

    iOS-PR: https://github.com/appcelerator/titanium_mobile/pull/9744 Requires the Android PR to adopt the existing iOS docs first and add the Android-specific behaviors. iOS-changes: - Move from Ti.UI.iOS to Ti.UI namespace - Rename itemtype to identifier - Deprecate API on Ti.UI.iOS namespace, throw deprecation log when using the old one.
  4. Lokesh Choudhary 2018-10-17

    FR Passed. PR's Merged.
  5. Keerthi Mahalingam 2018-10-17

    Verified the fix on SDK 7.5.0.v20181017114133. Application shortcuts works fine on android 7.1 and above. also on ios getting proper depreciation message when using Ti.UI.iOS.ApplicationShortcuts.
       Operating System
         Name                        = Mac OS X
         Version                     = 10.13.6
         Architecture                = 64bit
       Node.js
         Node.js Version             = 8.9.1
         npm Version                 = 5.5.1
       Titanium CLI
         CLI Version                 = 5.1.1
       Titanium SDK .            =7.5.0.v20181017114133
       Device                         =Pixel 8 device
       

JSON Source