Details

    • Sprint:
      2020 Sprint 11, 2020 Sprint 12, 2020 Sprint 13

      Description

      iOS has Ti.UI.iOS.ApplicationShortcuts and android has implemented Ti.UI.ShortcutItem for shortcut. To have parity on both platform , it is discussed to move Shortcut APIs under Ti.UI.Shortcut. Following are the decided APIs -

      1. var shortcutItem = Ti.UI.createShortcutItem({
           id: String   // Unique identifier
           title: String
           description: String
           icon: String/Number
           data: Dictionary
          })
       
      2. var shortcut = Ti.UI.createShortcut();
       
      3. shortcut.add(Ti.UI.ShortcutItem);
       
      4. shortcut.items -> Array<Ti.UI.ShortcutItem>
       
      5. shortcut.getById(id) -> Ti.UI.ShortcutItem
       
      6. shortcut.staticItems -> Array<Ti.UI.ShortcutItem>
       
      7. shortcut.remove(Ti.UI.ShortcutItem);
       
      8. shortcut.removeAll();
       
      9. Event listener - Ti.UI.Shortcuts.addEventListener('click', listener);  -> Ti.UI.ShortcutItem
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                vijaysingh Vijay Singh
                Reviewer:
                Joshua Quick
                Tester:
                Satyam Sekhri
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration