Documentation Index
Fetch the complete documentation index at: https://docs.quepass.com/llms.txt
Use this file to discover all available pages before exploring further.
The SDK must be initialized in app start. Initialization performs license verification.
Code
import { Quepass } from "@quepass/sdk";
// Step 1: Configure theme (optional, call before init)
Quepass.setTheme({ mode: "light" });
// Step 2: Initialize with license credentials
const result = await Quepass.init({
licenseKey: "your-jwt-license-key",
bundleId: "your-bundle-id",
baseUrl: "https://your-quepass-server.com"
});
// Step 3: Check initialization result
if (result.code === 200) {
console.log("SDK initialized successfully");
// SDK is ready for capture operations
} else {
console.error("Initialization failed:", result.errors);
}
Initializes the SDK at app startup to verify the license and prepare the SDK for capture operations.