Skip to main content
Plaud’s iOS SDK can be used through a Capacitor plugin to turn any web app into an iOS native app!
capacitor app

How it works

Capacitor is a runtime to run web apps on native platforms. It works by wrapping your web app in a native shell, while Capacitor’s bridge sends data from your web app to native features like iOS APIs and BLE.
Using the PlaudPlugin for Capacitor is actually using the iOS SDK behind the scenes.For native iOS apps, use the iOS SDK directly.

Setting Up Plaud Embedded’s Capacitor Plugin

The Plaud Embedded Capacitor Skill has all of the context in these docs so your agent can immediately start wrapping your web app into a native iOS app with Plaud Embedded.

Step 1: Clone our Embedded Capacitor Repo

Clone the Plaud-AI/Embedded-Capacitor repo.
This repo includes:
  1. PlaudPlugin for Capacitor runtime
  2. Typescript interfaces and utility functions for the PlaudPlugin
  3. A sample app with a NextJS application using the Capacitor wrapper to work as a native iOS app
  4. Plaud Capacitor Wrapper Skill for agents to implement the Plaud Plugin and the Capacitor runtime wrapper

Step 2: Setup Capacitor

1
2
Then initialize Capacitor to setup your Capacitor configs
3
Lastly, add ios to your capacitor project and sync your web app

Step 3: Setup the PlaudPlugin

1
Copy the ios/PlaudPlugin/ framework and paste into the ios/ directory.
2
Copy the ios/App/App/MainViewController.swift into your ios/App/App directory to register the PlaudPlugin.Your ios/ directory should look like this:
3
Link PlaudPlugin into the App target in Xcode.Open the project (npx cap open ios), then File -> Add Package Dependencies -> Add Local,Select ios/PlaudPlugin, and add the PlaudPlugin library product to the App target (the same way CapApp-SPM is already linked).
add swift package
4
Add the Bluetooth entitlement in ios/App/App/Info.plist
5
Lastly, point the native shell at your web app’s URL. Set this in the root capacitor.config.ts — that’s the source of truth.

Start Using Plaud Embedded in Your “Web App”

With Capacitor, your web app can stay a web app AND be a native iOS app!
demo app ss
The key is to have mobile specific logic execute when your users are using a native mobile platform:
Use plaud-sdk.ts as a convenient typescript interface for interacting with the native iOS Plaud SDK, and write logic for connecting to devices, exporting audio, and triggering transcriptions directly from your web app.
For the full list of relevant SDK methods for interacting with Plaud devices, see our iOS SDK reference.