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
The PlaudPlugin for Capacitor implements the basic methods for:
  1. Connecting to Plaud Devices
  2. Syncing audio files
  3. Transcription
For advanced usage of the Embedded SDK methods for use cases like WiFi fast transfers, we recommend adding more methods to this plugin or using the native Embedded iOS SDK directly

Video Walkthrough

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.
Capacitor plugins like the PlaudPlugin still use native swift code (built on top of the Embedded iOS SDK), but these plugins can be called and listened to using the Capacitor bridge.

Running the Demo App

The demo app is included in the Plaud Embedded plugin as reference for implementing the plugin in your own app and seeing how everything works.
1

Clone the Embedded Capacitor repo

2

Install dependencies and set up env vars

3

Build and open in XCode

In XCode, make sure to include your Apple developer credentials and certificate.
Then run on a physical device to test out the demo app with your Plaud devices.
demo app ss

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

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.