{"id":15046459,"url":"https://github.com/blimpllc/cordova-plugin-3dtouch-shortcutitems","last_synced_at":"2026-02-19T09:32:14.495Z","repository":{"id":57207631,"uuid":"43962568","full_name":"blimpllc/cordova-plugin-3dtouch-shortcutitems","owner":"blimpllc","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-10T15:24:04.000Z","size":116,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T17:21:17.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blimpllc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-09T15:01:09.000Z","updated_at":"2021-11-01T18:55:40.000Z","dependencies_parsed_at":"2022-09-11T05:30:37.016Z","dependency_job_id":null,"html_url":"https://github.com/blimpllc/cordova-plugin-3dtouch-shortcutitems","commit_stats":null,"previous_names":["blimpio/cordova-plugin-3dtouch-shortcutitems","getblimp/cordova-plugin-3dtouch-shortcutitems","blimpllc/cordova-plugin-3dtouch-shortcutitems"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimpllc%2Fcordova-plugin-3dtouch-shortcutitems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimpllc%2Fcordova-plugin-3dtouch-shortcutitems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimpllc%2Fcordova-plugin-3dtouch-shortcutitems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimpllc%2Fcordova-plugin-3dtouch-shortcutitems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blimpllc","download_url":"https://codeload.github.com/blimpllc/cordova-plugin-3dtouch-shortcutitems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251383831,"owners_count":21580945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T20:53:08.080Z","updated_at":"2026-02-19T09:32:14.466Z","avatar_url":"https://github.com/blimpllc.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-3dtouch-shorcutitem\nby [Giovanni Collazo](http://twitter.com/gcollazo)\n\n## Description\n\n* This plugin will notify you JavaScript app when you app is launched or resumed using a UIApplicationShortcutItem.\n\n* The plugin will call `window.onShortcutEvent` and pass an object. The `data` property of that object contains the `UIApplicationShortcutItemType` of the shortcut used.\n\n\n## Installation\n\n```\n$ cordova plugin add cordova-plugin-3dtouch-shortcutitems\n```\n\n\n## Xcode Project Setup\nFor custom shortcut icon create an Asset catalog and add your images. In this example the custom image used is called `my-shortcut-icon`. Set the text for the shortcut, in this example we are using `Shortcut Title`. Finally set the type of the shortcut, we are using `com.example.quicklink.action`.\n\n### Project.plist\n\n```xml\n\u003ckey\u003eUIApplicationShortcutItems\u003c/key\u003e\n\u003carray\u003e\n  \u003cdict\u003e\n    \u003ckey\u003eUIApplicationShortcutItemIconFile\u003c/key\u003e\n    \u003cstring\u003emy-shortcut-icon\u003c/string\u003e\n    \u003ckey\u003eUIApplicationShortcutItemTitle\u003c/key\u003e\n    \u003cstring\u003eShortcut Title\u003c/string\u003e\n    \u003ckey\u003eUIApplicationShortcutItemType\u003c/key\u003e\n    \u003cstring\u003ecom.example.quicklink.action\u003c/string\u003e\n  \u003c/dict\u003e\n\u003c/array\u003e\n```\n\n[UIApplicationShortcutItems Reference](https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW36)\n\n## JavaScript Interface\n\n```js\n// Register callback\nwindow.onShortcutEvent = function(event) {\n  alert(event.data);\n};\n\n// Initialize properly\ndocument.addEventListener('deviceready', function() {\n  window.shortcutItem.initialize();\n}, false);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblimpllc%2Fcordova-plugin-3dtouch-shortcutitems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblimpllc%2Fcordova-plugin-3dtouch-shortcutitems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblimpllc%2Fcordova-plugin-3dtouch-shortcutitems/lists"}