Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19709

Ti.UI.iOS.ApplicationShortcuts.addDynamicShortcut icon does not work with custom images

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      SDK 5.1.0.v20151009094506

      Description

      When you use a custom image for Ti.UI.iOS.ApplicationShortcuts.addDynamicShortcut() it won't work because the source code doesn't hash the passed image path so it work with now we're generate asset catalogs for images with TIMOB-19296.

      	appShortcuts.addDynamicShortcut({
      		itemtype: 'my.type',
      		title: 'My title',
      		subtitle: 'My subtitle',
       
      		// does not work:
      		// icon: '/images/shortcutItemIcon.png',
       
      		// does work
      		icon: '6ce9fb071294c440a20ff73b7c09fef2082c2206',
      	});
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              fokkezb Fokke Zandbergen
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20487
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration