PSPDFKit Instant

With PSPDFKit Instant, it's easier than ever to add real-time collaboration features to your PSPDFKit-powered app, allowing your users to seamlessly share, edit and annotate PDF documents across iOS, Android and Web apps.

The PSPDFKit SDKs for Android, iOS and Web support Instant. Just connect your app to an Instant server and document management and syncing is taken care of.

You can try this right now on our homepage and in PDF Viewer.

Instant is a collaboration between four components: your server, your instance of PSPDFKit Server which you host, your app, and the Instant framework embedded in your app.

Instant is designed to be fully functional while the device is offline or the connection is unreliable.

Document Management

Users upload documents to your backend, which simply forwards the uploaded PDF file to PSPDFKit Server and receives a document identifier. In your server, you only have to store this identifier - we store the PDF document, its annotations and meta information.

PSPDFKit Server is used to store the PDF document and it's annotations. Your server has access to a rich HTTP API.

Authentication

All authentication is per document, not per user.

Your backend signs JWT tokens asserting that the holder of such a token is allowed access to a given document. For each document, your app must obtain a JSON Web Token (JWT) from your server. Your app then pass it to Instant. Instant connects to PSPDFKit Server and uses the JWT to authenticate.

For more details about client authentication see the guides for PSPDFKit Server.

Each document may only be used for a single user at a time. Your app must call removeLocalStorage before authenticating a document as a different user. Authenticating a document as multiple users simultaneously is not supported and an exception may be raised if this is attempted.