No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
gcollazo Merge pull request #1 from jpadilla/master
Fix typos and add license
Latest commit 41595a6 Oct 10, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/ios Rename appdelegate extensions Oct 9, 2015
www Check if we are dealing with ios before exec Oct 9, 2015
.gitignore Initial commmit Oct 9, 2015
LICENSE Create LICENSE Oct 9, 2015 Fix typos Oct 9, 2015
package.json Version bump Oct 9, 2015


by Giovanni Collazo


  • This plugin will notify you JavaScript app when you app is launched or resumed using a UIApplicationShortcutItem.

  • The plugin will call window.onShortcutEvent and pass an object. The data property of that object contains the UIApplicationShortcutItemType of the shortcut used.


$ cordova plugin add cordova-plugin-3dtouch-shortcutitems

Xcode Project Setup

For 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.


    <string>Shortcut Title</string>

UIApplicationShortcutItems Reference

JavaScript Interface

// Register callback
window.onShortcutEvent = function(event) {

// Initialize properly
document.addEventListener('deviceready', function() {
}, false);