plaud-embedded-capacitor-skill
Plaud Embedded Capacitor Wrapper
iOS has no Web Bluetooth, and mobile browsers that do expose it can't reach Plaud's
proprietary handshake and audio codec — so a browser-based web app can't drive Plaud
recording hardware directly. This skill wraps the web app in a Capacitor native shell: a
thin iOS and/or Android app that loads the web app's URL in a native web view (WKWebView /
WebView) and exposes Plaud's precompiled native SDK to the web layer through a custom
Capacitor plugin (PlaudSdk). The web app calls PlaudSdk.* in JavaScript; Capacitor
serializes those calls across the bridge to native Swift or Java, which drives the platform
Bluetooth stack and the Plaud SDK.
One JS surface, two native implementations. The two plugins expose the same method names
and emit the same events, so the web app has no platform branching. Where the platforms
genuinely differ, the difference is documented on the type in references/plaud-sdk.ts
(see "Platform differences" below).