Shortcut API
Add Home Screen quick action shortcuts to your iOS app that deep link into specific pages.
Enable var useShortcuts = true in Config.swift to register dynamic shortcuts defined in Shortcuts.json. Each shortcut can open a URL, inject JavaScript, and display an SF Symbol. Example:
{
"shortcuts": [
{
"title": "Open Google",
"redirection_link": "https://google.com",
"injection": "",
"symbol": "wrench.and.screwdriver"
},
{
"title": "Open & Inject",
"redirection_link": "https://apple.com",
"injection": "(function() { console.log('Injected and executed!'); })();",
"symbol": "lock.open"
}
]
}Users can access the shortcuts by long-pressing the app icon.