{"_id":"@bubble-labs/capacitor-plugin-siri-shorts","_rev":"5-b976baf58e77bd268505da687900a0af","name":"@bubble-labs/capacitor-plugin-siri-shorts","dist-tags":{"latest":"8.0.1"},"versions":{"7.0.0":{"name":"@bubble-labs/capacitor-plugin-siri-shorts","version":"7.0.0","keywords":["capacitor","plugin","native"],"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","_id":"@bubble-labs/capacitor-plugin-siri-shorts@7.0.0","maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"dist":{"shasum":"c075194881cc04ca720f256e5a12e02df0e01132","tarball":"https://registry.npmjs.org/@bubble-labs/capacitor-plugin-siri-shorts/-/capacitor-plugin-siri-shorts-7.0.0.tgz","fileCount":43,"integrity":"sha512-Dv0dU23izyYa6lRs1+Mf7LLVmxaK40fCvqDV2pKR/GzmJNLqdgxuPaTFzkSL2DN42gP+7xTiB/a0CLUi+RzQ+g==","signatures":[{"sig":"MEYCIQCrcw/mPNbFwTjVktuYuZUKHttYqIkkSu42mTrcH4LlKAIhAKCDEC/MCaasG9CZEALxBVD0MWLSgmL4ewiKIMUhAuQH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145256},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"53aa30d604e0b3f82ee4e42fbb89c48a160aab07","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api SiriShortcutsPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"greenygh0st","email":"dale.myszewski@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git","type":"git"},"_npmVersion":"8.19.4","description":"Capacitor Plugin for Siri Shortcuts","directories":{},"_nodeVersion":"16.20.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.25.0","rimraf":"3.0.2","rollup":"2.79.1","prettier":"2.7.1","swiftlint":"1.0.1","typescript":"4.7.4","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"0.2.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.6.2","@ionic/prettier-config":"2.0.0","@ionic/swiftlint-config":"1.1.2"},"peerDependencies":{"@capacitor/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-siri-shorts_7.0.0_1747758374300_0.9165041442891901","host":"s3://npm-registry-packages-npm-production"}},"7.0.1":{"name":"@bubble-labs/capacitor-plugin-siri-shorts","version":"7.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","_id":"@bubble-labs/capacitor-plugin-siri-shorts@7.0.1","maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"dist":{"shasum":"9fb7351abd1846dc9d2bc5f245a66deabbf62aba","tarball":"https://registry.npmjs.org/@bubble-labs/capacitor-plugin-siri-shorts/-/capacitor-plugin-siri-shorts-7.0.1.tgz","fileCount":43,"integrity":"sha512-Ih3RBVawq2yyKM57bvfxOTpxMd711M4o4dLqLDymCNEF4uU8pz7dLxa1Ge27dDqqWqnaBZvsRikV0fetsWyKKQ==","signatures":[{"sig":"MEUCIHVvoI5Jq6tOpVx4aO6i2T0sYbM+OQ/002uTZH+MSFMgAiEA8sVLlSdITnkgq/47Dctj43mxR6OK6W+/f1c3/yGv6vQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145266},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"04574f8506fbe5eccfb173926ea49c1df6519ad0","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api SiriShortcutsPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"greenygh0st","email":"dale.myszewski@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git","type":"git"},"_npmVersion":"8.19.4","description":"Capacitor Plugin for Siri Shortcuts","directories":{},"_nodeVersion":"16.20.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.25.0","rimraf":"3.0.2","rollup":"2.79.1","prettier":"2.7.1","swiftlint":"1.0.1","typescript":"4.7.4","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"0.2.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.6.2","@ionic/prettier-config":"2.0.0","@ionic/swiftlint-config":"1.1.2"},"peerDependencies":{"@capacitor/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-siri-shorts_7.0.1_1747764159508_0.49567423854627757","host":"s3://npm-registry-packages-npm-production"}},"7.0.2":{"name":"@bubble-labs/capacitor-plugin-siri-shorts","version":"7.0.2","keywords":["capacitor","plugin","native"],"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","_id":"@bubble-labs/capacitor-plugin-siri-shorts@7.0.2","maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"dist":{"shasum":"21b0bf2350d37a550219590cdfabfc8b81bdfe95","tarball":"https://registry.npmjs.org/@bubble-labs/capacitor-plugin-siri-shorts/-/capacitor-plugin-siri-shorts-7.0.2.tgz","fileCount":42,"integrity":"sha512-MOPKpono/a1llmfQQvTilNQUEiabUoMy0FR2znKjG9yV93Fk0E1GZEBQGQwGWCUKvzo08vvR0MvBrx1XXSDDEQ==","signatures":[{"sig":"MEUCIQCKn25zIb7GuweUA+wxJkVvMe/6N1e4611IeIM4Pka/zQIgD6wenPDA49V+d93NhKcCDoCufY2Qv5R8zCv7Bcm2Iys=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144701},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"8b83a6c953811a55f8b01ae8fd206bd6ea8e116c","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api SiriShortcutsPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"greenygh0st","email":"dale.myszewski@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git","type":"git"},"_npmVersion":"8.19.4","description":"Capacitor Plugin for Siri Shortcuts","directories":{},"_nodeVersion":"16.20.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.25.0","rimraf":"3.0.2","rollup":"2.79.1","prettier":"2.7.1","swiftlint":"1.0.1","typescript":"4.7.4","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"0.2.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.6.2","@ionic/prettier-config":"2.0.0","@ionic/swiftlint-config":"1.1.2"},"peerDependencies":{"@capacitor/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-siri-shorts_7.0.2_1747764348295_0.6418591717231226","host":"s3://npm-registry-packages-npm-production"}},"7.0.3":{"name":"@bubble-labs/capacitor-plugin-siri-shorts","version":"7.0.3","keywords":["capacitor","plugin","native"],"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","_id":"@bubble-labs/capacitor-plugin-siri-shorts@7.0.3","maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"dist":{"shasum":"c2562a716dbee264db4cda1625798a93b7064048","tarball":"https://registry.npmjs.org/@bubble-labs/capacitor-plugin-siri-shorts/-/capacitor-plugin-siri-shorts-7.0.3.tgz","fileCount":43,"integrity":"sha512-AR8HJN453s6TfOkHOIlAQzmdtkiTo7hKTx4hfIRg/Ux+PoIOCCwiw6wVscvPm42dO7l6o+szkOoWYijKWSw1UA==","signatures":[{"sig":"MEUCIQC57J4YFBQ1vdrMxhaRHGj97Wb3//NV2pkCLmnFllhemgIgI0GN1ufl+qCHl/utj0xG92Fj7/+z38fAHocTyCB11Ps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145276},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ea3fd18e4e2f3ff40461b4102e1c298c840b72a2","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api SiriShortcutsPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"greenygh0st","email":"dale.myszewski@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git","type":"git"},"_npmVersion":"8.19.4","description":"Capacitor Plugin for Siri Shortcuts","directories":{},"_nodeVersion":"16.20.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.25.0","rimraf":"3.0.2","rollup":"2.79.1","prettier":"2.7.1","swiftlint":"1.0.1","typescript":"4.7.4","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"0.2.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"0.3.0","prettier-plugin-java":"1.6.2","@ionic/prettier-config":"2.0.0","@ionic/swiftlint-config":"1.1.2"},"peerDependencies":{"@capacitor/core":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-siri-shorts_7.0.3_1747764962922_0.5058099938493525","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@bubble-labs/capacitor-plugin-siri-shorts","version":"8.0.1","description":"Capacitor Plugin for Siri Shortcuts","publishConfig":{"access":"public"},"main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","scripts":{"verify":"npm run verify:ios && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api SiriShortcutsPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","devDependencies":{"@capacitor/android":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@capacitor/ios":"^8.0.0","@ionic/eslint-config":"0.3.0","@ionic/prettier-config":"2.0.0","@ionic/swiftlint-config":"1.1.2","eslint":"8.25.0","prettier":"2.7.1","prettier-plugin-java":"^0.3.2","rimraf":"3.0.2","rollup":"^2.79.2","swiftlint":"1.0.1","typescript":"4.7.4"},"peerDependencies":{"@capacitor/core":"^8.0.0"},"keywords":["capacitor","plugin","native"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"repository":{"type":"git","url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git"},"bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"_id":"@bubble-labs/capacitor-plugin-siri-shorts@8.0.1","gitHead":"bb7385a78a9f57ed78da9bfba8047d42d6ce35f3","homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.1","dist":{"integrity":"sha512-sfbJOZtGMvqvj2kTC/iZN4Ft9pSrlAI+p5QT1XlkmEnv5N9j/e6OUNVEML0u9YfnKoQZTH3fe4YaiXdgXoR3jw==","shasum":"24a3658cb1574828445c8706898fea152cc452dd","tarball":"https://registry.npmjs.org/@bubble-labs/capacitor-plugin-siri-shorts/-/capacitor-plugin-siri-shorts-8.0.1.tgz","fileCount":85,"unpackedSize":308587,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG7G4eH5I6xNXvuTYyqJfyh+8laj/9m+VSjCRu0tHaxNAiEAmxVeXtmky6h4aChMx9UOvT1Bg1UOex06HiltYwb7gsk="}]},"_npmUser":{"name":"greenygh0st","email":"dale.myszewski@gmail.com"},"directories":{},"maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-plugin-siri-shorts_8.0.1_1769227666859_0.7599887718807343"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-20T16:26:14.218Z","modified":"2026-01-24T04:07:47.161Z","7.0.0":"2025-05-20T16:26:14.474Z","7.0.1":"2025-05-20T18:02:39.713Z","7.0.2":"2025-05-20T18:05:48.468Z","7.0.3":"2025-05-20T18:16:03.173Z","8.0.1":"2026-01-24T04:07:47.004Z"},"bugs":{"url":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts/issues"},"author":{"name":"Dale Myszkowski, Timo Zacherl"},"license":"MIT","homepage":"https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/greenygh0st/capacitor-plugin-siri-shortcuts.git"},"description":"Capacitor Plugin for Siri Shortcuts","maintainers":[{"name":"greenygh0st","email":"dale.myszewski@gmail.com"}],"readme":"![ios](https://shields.io/badge/iOS-%3E%3D18.0-informational)\n![xcode](https://shields.io/badge/Xcode-%3E%3D16.0-informational)\n![npm](https://shields.io/npm/dw/capacitor-plugin-siri-shorts)\n![GitHub](https://shields.io/github/license/timozacherl/capacitor-plugin-siri-shortcuts)\n![npm](https://shields.io/npm/v/capacitor-plugin-siri-shorts)\n![capacitor](https://shields.io/badge/Capacitor-%3E%3D3.0.0-informational)\n\n# Capacitor Plugin for Siri Shortcuts\n\n## 💥 Breaking Changes\n\nVersion 7 of this Plugin only works with Capacitor 7.\n- For Capacitor 6 install `npm i capacitor-plugin-siri-shorts@6.0.0`.\n- For Capacitor 5 install `npm i capacitor-plugin-siri-shorts@5.0.0`.\n- For Capacitor 3 or 4 install `npm i capacitor-plugin-siri-shorts@3.0.0`.\n- For Capacitor 2 install `npm i capacitor-plugin-siri-shorts@1.0.3`.\n\n## 🔧 Setup\n\nThe Plugin requires at least iOS 18+ and Xcode 16+.\n\n```sh\nnpm i capacitor-plugin-siri-shorts\n```\n\n### iOS Project\n\nAdd a new Item to `NSUserActivityTypes` inside your `Info.plist` with your Bundle Identifier:\n\n```sh\n$(PRODUCT_BUNDLE_IDENTIFIER).shortcut\n```\n\nExtend the `application:continueuserActivity,restorationHandler` function inside your `AppDelegate.swift` with the following line:\n\n```swift\nNotificationCenter.default.post(Notification(name: Notification.Name(rawValue: \"appLaunchBySiriShortcuts\"), object: userActivity, userInfo: userActivity.userInfo))\n```\n\n**Put this line before the return statement!**\n\nThe function should look similar to that:\n\n```swift\nfunc application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {\n    NotificationCenter.default.post(Notification(name: Notification.Name(rawValue: \"appLaunchBySiriShortcuts\"), object: userActivity, userInfo: userActivity.userInfo))\n    return CAPBridge.handleContinueActivity(userActivity, restorationHandler)\n}\n```\n\n## ✨ Example Usage\n\n### A full Ionic + Angular example is available [here](https://github.com/lovetodream/siri-shortcuts-ionic-angular-sample)\n\nBasic example of the donate function:\n\n```ts\nimport { SiriShortcuts } from 'capacitor-plugin-siri-shorts';\n\n...\n\nsomeAction() {\n  SiriShortcuts.donate({\n    persistentIdentifier: \"someIdentifier\",\n    title: \"A descriptive title\"\n  })\n}\n```\n\nIt's recommended to add a listener into the `initializeApp()` function inside `app.component.ts`.\n\n```ts\ninitializeApp() {\n  this.platform.ready().then(() => {\n    \n    ...\n    \n    SiriShortcuts.addListener('appLaunchBySiriShortcuts', (res) => {\n      // do something with the response of the shortcut here\n      console.log(res)\n    });\n  });\n}\n```\n\n## 🏗️ API Reference\n\n<docgen-index>\n\n* [`donate(...)`](#donate)\n* [`present(...)`](#present)\n* [`delete(...)`](#delete)\n* [`deleteAll()`](#deleteall)\n* [`addListener('appLaunchBySiriShortcuts', ...)`](#addlistenerapplaunchbysirishortcuts-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### donate(...)\n\n```typescript\ndonate(options: Options) => Promise<any>\n```\n\nDonates the provided action to Siri/Shortcuts\n\n| Param         | Type                                        | Description                                                |\n| ------------- | ------------------------------------------- | ---------------------------------------------------------- |\n| **`options`** | <code><a href=\"#options\">Options</a></code> | <a href=\"#options\">Options</a> to specify for the donation |\n\n**Returns:** <code>Promise&lt;any&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### present(...)\n\n```typescript\npresent(options: Options) => Promise<any>\n```\n\nPresents a modal to the user to add the shortcut to siri and access it via voice\n\n| Param         | Type                                        | Description                                                |\n| ------------- | ------------------------------------------- | ---------------------------------------------------------- |\n| **`options`** | <code><a href=\"#options\">Options</a></code> | <a href=\"#options\">Options</a> to specify for the donation |\n\n**Returns:** <code>Promise&lt;any&gt;</code>\n\n**Since:** 2.2.0\n\n--------------------\n\n\n### delete(...)\n\n```typescript\ndelete(options: DeleteOptions) => Promise<void>\n```\n\nDeletes the previous donations with the provided persistent identifiers\n\n| Param         | Type                                                    |\n| ------------- | ------------------------------------------------------- |\n| **`options`** | <code><a href=\"#deleteoptions\">DeleteOptions</a></code> |\n\n**Since:** 2.1.0\n\n--------------------\n\n\n### deleteAll()\n\n```typescript\ndeleteAll() => Promise<void>\n```\n\nDelets all the previously donated activities\n\n**Since:** 2.1.0\n\n--------------------\n\n\n### addListener('appLaunchBySiriShortcuts', ...)\n\n```typescript\naddListener(eventName: 'appLaunchBySiriShortcuts', listenerFunc: (shortcut: Shortcut) => void) => Promise<PluginListenerHandle>\n```\n\nListens to events associated with Siri Shortcuts\nand notifies the listenerFunc if a Shortcuts has been executed.\n\n| Param              | Type                                                                 | Description                                     |\n| ------------------ | -------------------------------------------------------------------- | ----------------------------------------------- |\n| **`eventName`**    | <code>'appLaunchBySiriShortcuts'</code>                              | Name of the event                               |\n| **`listenerFunc`** | <code>(shortcut: <a href=\"#shortcut\">Shortcut</a>) =&gt; void</code> | Function to execute when listener gets notified |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 2.0.1\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n**Since:** 2.0.1\n\n--------------------\n\n\n### Interfaces\n\n\n#### Options\n\n<a href=\"#options\">Options</a> to specify for the donation\n\n| Prop                            | Type                                          | Description                                                                                                                                                                                                      |\n| ------------------------------- | --------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`persistentIdentifier`**      | <code>string</code>                           | Specify an identifier to uniquely identify the shortcut, in order to be able to remove it                                                                                                                        |\n| **`title`**                     | <code>string</code>                           | Specify a title for the shortcut, which is visible to the user as the name of the shortcut                                                                                                                       |\n| **`userInfo`**                  | <code><a href=\"#userinfo\">UserInfo</a></code> | Provide a key-value object that contains information about the shortcut, this will be returned in the getActivatedShortcut method. It is not possible to use the persistentIdentifier key, it is used internally |\n| **`suggestedInvocationPhrase`** | <code>string</code>                           | Specify the phrase to give the user some inspiration on what the shortcut to call                                                                                                                                |\n| **`isEligibleForSearch`**       | <code>boolean</code>                          | This value defaults to true, set this value to make it searchable in Siri                                                                                                                                        |\n| **`isEligibleForPrediction`**   | <code>boolean</code>                          | This value defaults to true, set this value to set whether the shortcut eligible for prediction                                                                                                                  |\n\n\n#### UserInfo\n\n\n#### DeleteOptions\n\n<a href=\"#options\">Options</a> to specify for a deletion\n\n| Prop              | Type                  | Description                                             |\n| ----------------- | --------------------- | ------------------------------------------------------- |\n| **`identifiers`** | <code>string[]</code> | Array of persistent identifiers which should be deleted |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### Shortcut\n\nObject which will be returned by the listener which\ncontains the persistent identifier and the userinfo\nof a shortcut\n\n| Prop                       | Type                |\n| -------------------------- | ------------------- |\n| **`persistentIdentifier`** | <code>string</code> |\n\n</docgen-api>\n","readmeFilename":"README.md"}