Skip to content

PDF Expert

PDF Expert is Readdle's PDF editor and reader for Mac, iPad, and iPhone. Protocol Launcher allows you to generate PDF Expert URL scheme links.

Usage

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Open Remote PDF

Save and open a direct PDF URL by adding the documented PDFE prefix.

On-Demand
ts
import { openRemotePdf } from 'protocol-launcher/pdf-expert'

const url = openRemotePdf({
  url: 'https://example.com/Guide.pdf',
})

Open File

Open a file stored in PDF Expert's Documents tab with the documented PDFEFILE:///Folder/Subfolder/File.pdf form.

On-Demand
ts
import { openFile } from 'protocol-launcher/pdf-expert'

const url = openFile({
  path: 'Folder/Subfolder/File.pdf',
})

If folder names contain spaces, Readdle documents using %20; pass those escapes in path.

Open Synced File

Open a file kept in Synced folders with the documented pdfefile:///SyncedFolders/ static path.

On-Demand
ts
import { openSyncedFile } from 'protocol-launcher/pdf-expert'

const url = openSyncedFile({
  path: 'folder1/folder2/test.pdf',
})

Readdle notes that other app languages may require the translated version of the Synced folders part of the URL. This helper generates the documented English static path pdfefile:///SyncedFolders/.

References