How it Works
Build your web app with any framework (React, Vue, Angular, Svelte, or vanilla JavaScript), then deploy it as a truly native application to the App Store and Google Play - complete with hardware acceleration, offline support, and deep OS integration. Your existing web app runs in a native Swift (iOS) and Kotlin (Android) runtime with 30+ pre-built native features accessible through simple JavaScript commands. No plugins, no dependencies, no maintenance headaches. Everything is configured from a browser-based editor - no Xcode, no Android Studio required. Enable features, manage app settings, and deploy to both stores with one click through Despia’s built-in CI/CD pipeline.Deployment Models
Remote Hydration (default). The binary ships without embedded web assets. On each launch, the runtime fetches your current build from your configured hosting URL - Vercel, Netlify, AWS, or anything else. No App Store resubmission needed for web content updates. Connectivity is required on each launch. Local Server (optional). For apps that need to work offline or launch without a network dependency. Install@despia/local, which generates a despia/local.json manifest enumerating every asset your app requires. The runtime downloads and caches the complete asset graph on-device, then serves it from http://localhost - a real HTTP server on the device. After initial hydration, the app launches instantly from cache with no network request. Updates download in the background when connectivity returns and apply atomically on next launch.
Because http://localhost is a real secure origin (unlike file:// used by other hybrid runtimes), Service Workers, IndexedDB, Web Crypto, and standard URL routing all work without workarounds.
Learn more about Local Server →
Installation
Core Native Features
Haptic Feedback
App Information & Device Data
UI Controls
Advanced Features
In-App Purchases (RevenueCat Integration)
Identity Vault (Cross-Device Sync)
Key-value storage backed by iCloud KV Storage on iOS and Android App Backup on Android. Values can be locked behind biometric authentication. Persists across standard uninstall and reinstall cycles - useful for preventing trial abuse and multi-account fraud.Contacts Access
Push Notifications
Biometric Authentication
Clipboard
Screenshots & Media
Native Sharing
iOS Home Widgets
Environment Detection
Native SDK calls should be gated on runtime detection. Thedespia user agent string is present when running inside the Despia runtime and absent in standard browsers.
Native Safe Area Support
Automatic CSS variables for device-specific layouts:Offline Support with Local Server
Install the build plugin:despia/local.json manifest at build time enumerating every asset your app needs. The runtime downloads and caches the complete asset graph on-device, serves it from http://localhost, and applies updates atomically in the background. After initial hydration, your app launches with no network request and works fully offline.
Learn more about Local Server →
OTA Updates with Version Gating
Complete Feature Reference
Core Runtime APIs:- Hardware-backed Identity Vault - key-value storage secured by biometrics, synced via iCloud KV Storage (iOS) and Android App Backup (Android)
- Native cross-platform biometrics (Face ID, Touch ID, fingerprint) linked to Identity Vault
- True native background location - unified across iOS and Android, including Samsung Low Power Mode support
- Contacts, clipboard
- Haptics (5 types)
- Native media and file system access, image saving
- Native background audio support
- Local push notifications
- Status bar controls, safe area CSS variables
- Device orientation per device class (phone, tablet, auto)
- Prevent zoom, prevent sleep, fullscreen mode, splash screen
- iOS Home Widgets, Siri Shortcuts
- Native share dialog, AirPrint
- Screen shield - prevents screenshots and recordings, cross-platform
- PkPass support for iOS and Android mobile wallets
- RevenueCat - purchases, subscriptions, unified restore, paywalls
- OneSignal - remote push notifications with unified registration and external user ID mapping
- AdMob - advertising
- HealthKit - all major health identifiers
- ATT (App Tracking Transparency) compliance built in
- Vendor ID tracking
- Developer-level ID tracking - persists across standard uninstall/reinstall cycles via iCloud KV and Android App Backup; prevents trial abuse and multi-account fraud
- Store Location access - geo-blocking, content compliance, or web payments on iOS US store apps
- Jailbreak detection with configurable blocking
- NoCode iOS target management - App Clips, Share Extensions, and Home Widgets via editor toggles; no manual Xcode configuration required
<input type="file">- routed to the native file pickercaptureattribute - opens the native camera modalaccept="image/*"oraccept="video/*"- opens the native media gallery with native preview- Deeplinks and HTTPS deeplinks - handled natively, routed to Local Server when enabled
- External link handling - configurable from web UI, consistent across both platforms
Deployment Options
Despia Editor (recommended). A browser-based editor where you configure features, manage app targets, and deploy - no Xcode or Android Studio needed. Toggle native features on or off, configure runtime settings, manage iOS targets (App Clips, Share Extensions, Home Widgets), and submit to the App Store and Google Play through Despia’s built-in CI/CD pipeline. Code signing and provisioning are handled automatically. Export & Build Independently. Export complete Xcode and Android Studio projects at any time. The codebase is fully yours - extend it, add custom native SDKs, or build independently. Your web code stays standard web code, and your hosting stays your hosting.Framework Compatibility
Works with any web framework:- React, Vue, Angular, Svelte
- Next.js, Nuxt, SvelteKit, Astro, Remix
- Vanilla JavaScript
- AI builders: Lovable, Bolt, v0
- No-code: WeWeb, Nordcraft
Source Code
Open source (MIT):- despia-native - JavaScript SDK
- @despia/local - Offline bundler
- despia-version-guard - Version gating
- Native feature implementations (Swift/Kotlin)
Need Help?
- Documentation - Complete SDK reference
- Support: support@despia.com
despia-native and start calling native SDK methods in minutes.