WebViewGold Documentation · iOS
Language: 🇺🇸 English
Get WebViewGold

Siri Plugin

Add Siri Shortcuts support to your iOS WebView app and open app content by voice.

Last updated:

Enable Siri integration by entering your plugin token in static let siriEnabled within Config.swift and adding the Siri capability to the WebViewGold target.
Reach out to [email protected] for more information.

How to implement Siri functionality

  1. Create a JavaScript function that Siri should trigger:
function playRadio() {
   // Add desired functionality
}
  1. Add a button or link to register the Siri command (avoid phrases like "Open" which may confuse Siri):
<a href="addtosiri://?command=Play%20Radio&jsFunction=playRadio()">Add Play Radio to Siri</a>

The command parameter provides the recommended phrase, while jsFunction specifies the JavaScript function to execute.

Too busy? We set up your app for you.

Our team configures, builds & submits your WebViewGold app — done-for-you, fast turnaround, Made in Germany.

Get your app set up →

Build in your browser

No Mac, no IDE: the WebViewGold Cloud Builder configures, builds & uploads your app online.

Discover Cloud Builder →