Use this file to discover all available pages before exploring further.
You are building a web app in Cursor. Despia wraps it for iOS and Android, with native billing, push notifications, install attribution, and offline support included. No React Native, no Xcode, no separate mobile codebase.
Despia loads your web app inside a native Swift and Kotlin shell. Your existing JavaScript, React, Vue, or any other framework runs as-is. Native capabilities are exposed via despia() calls from your existing code.
import despia from 'despia-native'// Your web app is already running// Add native features on top
Point Despia at your deployed web app URL, Vercel, Netlify, your own server, anything, and click publish. Despia manages signing, provisioning, and submission to both stores.
Apple and Google require their own billing systems for digital content. Implementing this yourself means integrating StoreKit (Swift) for iOS and Google Play Billing (Kotlin) for Android, plus keeping them in sync. Despia includes RevenueCat as a built-in, accessible from your web layer with a single call.
Configure entitlements in your RevenueCat dashboard, attach your iOS and Android products to a single entitlement identifier, and both platforms return the same entitlementId. No platform-specific code.
Call this on every app load after the user is authenticated. Send targeted notifications from your backend using OneSignal’s REST API with include_external_user_ids.
AppsFlyer ships with every Despia app. Three variables are injected automatically on every page load, no setup, no SDK initialisation:
despia.appsFlyerReferrer // 'tiktok_ad', 'meta_organic', 'organic'despia.appsFlyerAttribution // full attribution objectdespia.appsFlyerUID // unique AppsFlyer user ID
Add the @despia/local build plugin to serve your app from http://localhost on the device. Your app loads in milliseconds after first launch and works fully offline. No service worker complexity, no file:// protocol issues.
Your web app is the source of truth. iOS and Android run the same code. Any change you deploy goes to web, iOS, and Android simultaneously via OTA.This is the opposite of React Native, where you maintain a parallel codebase with its own component library, navigation system, and platform-specific logic.