# Despia Documentation - [Introduction](https://setup.despia.com/introduction.md): Despia lets your web app call native device features and ship to iOS and Android - no Swift, no Java, no terminal. - [MCP Server](https://setup.despia.com/mcp-server.md): Ship true native features for your web-native apps faster and with more precision using the Despia MCP. - [Changelog](https://setup.despia.com/changelog.md): New features, improvements, and fixes across the Despia platform. - [Automatic](https://setup.despia.com/deployment/apple-ios/automatic.md): Complete guide for building and publishing iOS applications using Despia - [Manual](https://setup.despia.com/deployment/apple-ios/manual.md): Complete guide for exporting and working with your Despia application as native Swift code. - [Automatic](https://setup.despia.com/deployment/google-android/automatic.md): Complete guide for building and publishing Android applications using Despia. - [Manual](https://setup.despia.com/deployment/google-android/manual.md): Complete guide for exporting and working with your Despia application as native Android code. - [Structure](https://setup.despia.com/best-practices/frontend/structure.md): Essential patterns for building production-ready mobile applications with Despia. Learn how to structure root frames, handle device boundaries, implement scroll containers, and optimize touch interactions for native performance. - [Performance](https://setup.despia.com/best-practices/frontend/performance.md): Build applications optimized for 60fps performance that degrade gracefully under system constraints. This guide covers proven techniques for JavaScript execution, rendering optimization, memory management, and asset delivery. - [Animations](https://setup.despia.com/best-practices/frontend/animations.md): CSS animation first. Scroll-driven CSS for drawers, sheets, parallax, and page transitions. JS fallback only where CSS is not supported. - [User Session](https://setup.despia.com/best-practices/backend/user-session.md): This guide covers the general user identity management pattern for Despia apps. This system is the foundation that all SDK integrations (RevenueCat, OneSignal, Stripe, etc.) build upon. - [User Session](https://setup.despia.com/best-practices/backend/revenuecat/user-session.md): This guide covers user identity management for in-app purchases and subscriptions using RevenueCat in Despia apps. - [Webhooks](https://setup.despia.com/best-practices/backend/revenuecat/webhooks.md): Complete implementation guide for processing RevenueCat webhooks with authorization validation, event type handling, and entitlement management. - [Cron Jobs](https://setup.despia.com/best-practices/backend/revenuecat/cron-jobs.md): Implement a self-healing subscription sync system using scheduled cron jobs as a backup to webhooks. This ensures your database stays synchronized with RevenueCat even when webhooks fail or are delayed. - [User Session](https://setup.despia.com/best-practices/backend/one-signal/user-session.md): This guide covers user identity management for push notifications using OneSignal in Despia apps. - [Overview](https://setup.despia.com/best-practices/updates/overview.md): Getting OTA updates right means your app stays fast, your users stay unblocked, and you never give a reviewer a reason to push back. - [Interface](https://setup.despia.com/best-practices/updates/interface.md): UI changes are the safest and most common use of OTA. They ship instantly, require no binary, and reach every user on the next app open. - [Logic](https://setup.despia.com/best-practices/updates/logic.md): Business rules, data handling, API integrations, state management, routing - all web layer. They ship via OTA, silently, with no review and no rebuild. - [Editor](https://setup.despia.com/best-practices/updates/editor.md): Changes made in the Despia editor affect the native binary. They require a rebuild and a new submission to the App Store and Google Play. - [Introduction](https://setup.despia.com/local-server/introduction.md): Ship native iOS and Android apps that boot instantly and work completely offline by serving your web build from an on-device HTTP server. - [Reference](https://setup.despia.com/local-server/reference.md): Plugin installation, framework configuration, manifest schema, and troubleshooting for the Despia local server. - [Introduction](https://setup.despia.com/local-intelligence/Introduction.md): Run language models on-device in hybrid apps with one function call. Private by default, offline after first download, zero per-token cost. - [Reference](https://setup.despia.com/local-intelligence/reference.md): Complete API reference for despia-intelligence: run, models, runtime, events, and error codes. - [Introduction](https://setup.despia.com/local-database/introduction.md): Native local SQLite database with optional real-time backend sync for Despia apps. - [Reference](https://setup.despia.com/local-database/reference.md): Complete reference for @despia/powersync, init, query, write, watch, migrate, search, and sync. - [Introduction](https://setup.despia.com/local-cdn/introduction.md): Cache gigabytes of media on-device with O(1) memory usage and background downloads that continue after the app is closed. - [Reference](https://setup.despia.com/local-cdn/reference.md): Complete API reference for localcdn:// commands, the contentServerChange callback, and the HTTP upload API. - [Introduction](https://setup.despia.com/authentication/clerk/introduction.md): Drop-in authentication for your Despia app with email, OAuth, passkeys, and MFA handled by Clerk's native iOS SDK. - [Reference](https://setup.despia.com/authentication/clerk/reference.md): Payload envelope, event names, status values, error codes, quirks, and platform support. - [Auth Methods](https://setup.despia.com/authentication/clerk/auth-methods.md): Auth Sheet, email/username/phone password, OAuth, Apple, email and phone OTP, passkeys, MFA, Enterprise SSO, password reset, and magic-link tickets. - [Session](https://setup.despia.com/authentication/clerk/sessions.md): Check who's signed in, read the auto-refreshed JWT, and authenticate API calls. - [Backend](https://setup.despia.com/authentication/clerk/backend.md): Zero-config server-side authentication for Next.js, TanStack, and any framework via cookies and an optional header. - [Account](https://setup.despia.com/authentication/clerk/account.md): User Profile sheet, sign-out, attribution sync, and multi-tenant switching. - [Introduction](https://setup.despia.com/payments/introduction.md): App Store and Google Play billing via RevenueCat, plus Stripe for physical goods and real-world services. - [Introduction](https://setup.despia.com/payments/revenuecat/introduction.md): Native App Store and Google Play billing in your web app via the Despia SDK and RevenueCat. - [Reference](https://setup.despia.com/payments/revenuecat/reference.md): Complete reference for all Despia in-app purchase schemes, parameters, callbacks, entitlement checks, and webhook handling. - [Introduction](https://setup.despia.com/payments/stripe/introduction.md): Native Stripe PaymentSheet and CustomerSheet in your web app via the Despia SDK. - [Payment](https://setup.despia.com/payments/stripe/payment.md): Show the native Stripe Payment Sheet from your web app and receive the result through a single global callback. - [Extensions](https://setup.despia.com/custom-code/extensions.md): Reference for building native iOS and Android plugins for Despia. - [Introduction](https://setup.despia.com/analytics/appsflyer/introduction.md): Native AppsFlyer attribution, deep linking, events, identity, consent, and ad revenue, fully managed by Despia and controlled from your web layer. - [Testing](https://setup.despia.com/analytics/appsflyer/testing.md): Confirm your AppsFlyer setup is working before you launch. No coding tools required. - [Identity](https://setup.despia.com/analytics/appsflyer/identity.md): Tie attribution and events to your own user IDs, pass hashed email and phone for audience matching, and read the AppsFlyer device ID. - [Attribution](https://setup.despia.com/analytics/appsflyer/attribution.md): Read where every user came from across TikTok, Meta, Google, affiliate, or organic using data injected by Despia on every page load. - [Deep Linking](https://setup.despia.com/analytics/appsflyer/deeplinking.md): Carry campaign, affiliate, invite, and content metadata from a link into the app on first launch, even when the user installs from the store first. - [Campaigns](https://setup.despia.com/analytics/appsflyer/campaigns.md): Connect TikTok and Meta as integrated partners, create custom attribution links, and measure which campaigns drive the most valuable users. - [Events](https://setup.despia.com/analytics/appsflyer/events.md): Log standard and custom in-app events from your web layer. Standard af_ events map automatically to Meta and TikTok conversion events. - [Ad Revenue](https://setup.despia.com/analytics/appsflyer/ad-revenue.md): Report impression-level ad revenue per network to AppsFlyer for LTV and ROAS reporting per acquisition channel. - [Consent](https://setup.despia.com/analytics/appsflyer/consent.md): Forward GDPR and DMA consent choices from your cookie banner to the native AppsFlyer SDK. - [Introduction](https://setup.despia.com/analytics/posthog/introduction.md): GDPR-compliant product analytics, feature flags, and user identification bridged to your web layer via the Despia PostHog integration. - [Reference](https://setup.despia.com/analytics/posthog/reference.md): Complete reference for Despia PostHog analytics, schemes, parameters, injected globals, and feature flags. - [WebSockets](https://setup.despia.com/connectivity/websockets.md): WebSocket connection owned by the native runtime, with durable message delivery across WebView reloads, suspension, and relaunch. - [NFC](https://setup.despia.com/connectivity/nfc.md): Read from and write to NFC tags directly from your web app. - [Introduction](https://setup.despia.com/introduction-1.md): Read Apple Health and OAuth wearable data natively and deliver it to your backend or your web app on demand, using the native Terra SDK bundled at runtime. - [Reference](https://setup.despia.com/reference.md): Full API reference for Terra health data in Despia: client-side schemes, injected globals, event payloads, and backend responsibilities. - [OCR](https://setup.despia.com/machine-learning/vision/ocr.md): Run native optical character recognition on any image on iOS and Android, with no server round-trips and no third-party API keys. - [Speech Recognition](https://setup.despia.com/machine-learning/voice/speech-recognition.md): Convert spoken audio into text on-device using the native iOS speech recognition engine. - [PK Pass](https://setup.despia.com/wallet/pkpass.md): Add passes to a user's device wallet directly from your web app. - [User Agent](https://setup.despia.com/native-features/user-agent.md): Detect whether your app is running in the Despia native runtime and identify the platform to conditionally render features like in-app purchases or native modules. - [Introduction](https://setup.despia.com/native-features/onesignal/introduction.md): Send targeted push notifications to specific users even when your app is closed, using the native OneSignal SDK bundled at runtime. - [Reference](https://setup.despia.com/native-features/onesignal/reference.md): Full API reference for OneSignal push notifications in Despia: client-side schemes, backend payload options, deep linking fields, segmentation, and critical alerts. - [Deeplinking](https://setup.despia.com/native-features/deeplinking.md): Configure universal links on iOS and app links on Android so URLs from your domain open directly inside your Despia app instead of the mobile browser. - [Introduction](https://setup.despia.com/native-features/revenuecat/introduction.md): Native App Store and Google Play billing in your web app via the Despia SDK and RevenueCat. - [Reference](https://setup.despia.com/native-features/revenuecat/reference.md): Complete reference for all Despia in-app purchase schemes, parameters, callbacks, entitlement checks, and webhook handling. - [Easy OAuth](https://setup.despia.com/native-features/oauth/easy-login-flow.md): Finish social sign-in on your own domain, with the provider's redirect landing directly in your app and no callback page to build. - [Introduction](https://setup.despia.com/native-features/oauth/introduction.md): How OAuth authentication works in Despia apps. Provider-agnostic, the same flow works for Google, Apple, TikTok, GitHub, or any OAuth 2.0 provider. - [Apple Auth](https://setup.despia.com/native-features/oauth/apple.md): Sign In with Apple, platform-aware. Native Face ID on iOS, Chrome Custom Tabs on Android, popup on web. - [Google Auth](https://setup.despia.com/native-features/oauth/google.md): Sign In with Google using the Despia OAuth bridge. Opens ASWebAuthenticationSession on iOS and Chrome Custom Tabs on Android, with a standard popup on web. - [TikTok Auth](https://setup.despia.com/native-features/oauth/tiktok.md): Sign In with TikTok using the Despia OAuth bridge. Opens ASWebAuthenticationSession on iOS and Chrome Custom Tabs on Android, with a standard redirect on web. - [Purchases](https://setup.despia.com/native-features/purchases.md): Purchase a specific product directly using RevenueCat through Apple App Store and Google Play billing. - [Paywalls](https://setup.despia.com/native-features/paywalls.md): Monetize your app with seamless payment processing through Apple and Google's native billing systems using RevenueCat Paywalls. - [Restore Purchase](https://setup.despia.com/native-features/restore-purchase.md): Restore and retrieve a user's complete purchase history from Apple App Store and Google Play Store using the Despia SDK. - [Storage Vault](https://setup.despia.com/native-features/storage-vault.md): Encrypted persistent storage backed by iCloud Key Value Store on iOS and Android Key/Value Backup on Android. Survives uninstall and reinstall. - [Service Workers](https://setup.despia.com/native-features/service-workers.md): Run your web app's service worker inside the native app so cached pages and assets keep serving when the device has no connection. - [URL Scheme](https://setup.despia.com/native-features/url-scheme.md): Set the custom protocol your app registers with iOS and Android so native authentication sessions can hand tokens back to your app. - [File Picker](https://setup.despia.com/native-features/file-picker.md): Route every file upload to the correct native picker based on the file types your input accepts. - [GPS Location](https://setup.despia.com/native-features/gps-location.md): Track a user's real-time location with configurable time intervals, distance thresholds, live frontend callbacks, single reads, optional server delivery, and a long-range mode that keeps recording after the app is force-killed. - [Gyroscope](https://setup.despia.com/native-features/gyroscope.md): Read live angular velocity from the device's gyroscope plus magnetic heading from the compass on a single channel, with a magnitude threshold for filtering low-motion noise. - [Light & Dark Mode](https://setup.despia.com/native-features/light-and-dark-mode.md): Implement automatic light and dark mode using CSS prefers-color-scheme and Despia's injected safe area variables, with no JavaScript or SDK calls required. - [Interstitial Ads](https://setup.despia.com/native-features/admob/Iinterstitial.md): Display a full-screen native AdMob interstitial ad at a natural transition point using a single fire-and-forget SDK call. - [Inline Ads](https://setup.despia.com/native-features/admob/inline-ads.md): Render AdMob ads as real DOM elements inside your web UI by bridging the Google Mobile Ads SDK to the Despia WebView. No native overlays, no z-index fights, just AdSense, GPT, or IMA tags loading in place. - [Rewarded Ads](https://setup.despia.com/native-features/admob/rewarded-ads.md): Display a native AdMob rewarded video ad through Despia and grant in-app rewards only when the user completes the view. - [External Links](https://setup.despia.com/native-features/external-links.md): Control how your app routes external URLs, opening payment and OAuth flows in Safari for store compliance and everything else inside the in-app browser. - [Device Indexing](https://setup.despia.com/native-features/device-indexing.md): Read the device's unique identifier through despia.uuid to track installs, link sessions, and prevent account sharing across your mobile app. - [Haptic Feedback](https://setup.despia.com/native-features/haptic-feedback.md): Trigger native tactile feedback through Despia using five preset haptic patterns mapped to standard interaction types. - [Prevent Autoscroll](https://setup.despia.com/native-features/prevent-autoscroll.md): Stop the native WebView from repositioning when the keyboard appears so your JavaScript keyboard handling stays in full control. - [Contact Access](https://setup.despia.com/native-features/contact-access.md): Read the user's device contacts through Despia after requesting native permission, returned as a JSON object keyed by contact name. - [HealthKit (Legacy)](https://setup.despia.com/native-features/healthkit.md): Read and write Apple HealthKit data including steps, heart rate, sleep, workouts, and more within your Despia app. - [Apple Health](https://setup.despia.com/health-data/apple-health.md): Read and write Apple HealthKit data including steps, heart rate, sleep, workouts, and more within your Despia app. - [Google Health](https://setup.despia.com/health-data/google-health.md): Google Health Connect integration for Android is coming soon to Despia. - [Siri Shortcuts](https://setup.despia.com/native-features/siri-shortcuts.md): Register a natural language phrase as a Siri shortcut that calls a globally-defined JavaScript function in your app when spoken. - [Biometrics](https://setup.despia.com/native-features/biometrics.md): Trigger Face ID, Touch ID, or device passcode authentication through Despia and respond via three global callback functions. - [Speech Recognition](https://setup.despia.com/native-features/speech-recognition.md): Convert spoken audio into text on-device using the native iOS speech recognition engine. - [App Privacy](https://setup.despia.com/native-features/app-privacy.md): Read the user's tracking consent status synchronously through despia.trackingDisabled to gate analytics and ad-tracking behavior. - [Safe Areas](https://setup.despia.com/native-features/safe-areas.md): Handle notches, status bars, home indicators, and gesture bars using CSS variables injected by the Despia runtime, paired with a defensive env() fallback. - [Screen Radius](https://setup.despia.com/native-features/screen-radius.md): Read the device's physical screen corner radius and use it to build inner UI elements with perfectly concentric rounded corners. - [In-App Rating](https://setup.despia.com/native-features/in-app-rating.md): Show the operating system's native star rating prompt inside your app, or send users straight to the store review composer. - [Action Sheet](https://setup.despia.com/native-features/action-sheet.md): Trigger a native iOS or Android action sheet from your web app and react to the user's selection. - [Camera Roll](https://setup.despia.com/native-features/camera-roll.md): Save remote-hosted images to the device photo gallery through Despia using a single fire-and-forget SDK call with a CDN-hosted URL. - [Offline Push](https://setup.despia.com/native-features/offline-push.md): Schedule a local notification on the device with a title, body, deep link, and delay in seconds, fully offline and triggered without a server round-trip. - [App Settings](https://setup.despia.com/native-features/app-settings.md): Open your app's native settings page directly so users can re-grant push notification, location, or camera permissions they previously denied. - [File Viewer](https://setup.despia.com/native-features/file-viewer.md): Open a remote file in a native previewer with consistent render fidelity across iOS and Android. - [Home Widgets](https://setup.despia.com/native-features/home-widgets.md): Render dynamic SVG content from your backend into iOS home screen widgets, refreshed in the background at the interval you specify. - [File Sharing](https://setup.despia.com/native-features/file-sharing.md): Open the device's native share sheet with a file from a CDN URL, letting users send it to any installed app, contact, or cloud service. - [Focus Events](https://setup.despia.com/native-features/focus-events.md): Detect when your app enters the foreground or background using global window callbacks. - [Screen Brightness](https://setup.despia.com/native-features/screen-brightness.md): Set screen brightness behavior for scanning workflows, with three modes for automatic, always-bright, and standard rendering. - [Share Dialog](https://setup.despia.com/native-features/share-dialog.md): Open the native share sheet pre-populated with a text message and URL, letting users send the combination to any app, contact, or service installed on their device. - [Clipboard](https://setup.despia.com/native-features/clipboard.md): Read the device clipboard contents through Despia and use them inside your app, useful for paste-style flows like coupon codes, share links, and attribution tokens. - [Store Location](https://setup.despia.com/native-features/store-location.md): Read the user's App Store or Play Store country code through despia.storeLocation to gate regional features and route payments correctly. - [Share Extension](https://setup.despia.com/native-features/share-extension.md): Receive content shared into your app from other apps via the system share sheet, delivered through a single global callback that fires when your app launches with a shared payload. - [Quick Actions](https://setup.despia.com/native-features/quick-actions.md): Add native long-press shortcuts to your app icon that invoke a global JavaScript function when tapped, letting users jump straight into a specific workflow. - [Simple Storage](https://setup.despia.com/native-features/simple-storage.md): Single-slot key-value storage on the device through the Despia SDK. Legacy feature, kept for apps already shipping with it. - [Print Documents](https://setup.despia.com/native-features/print-documents.md): Open the native print dialog with a PDF or image from a CDN URL, letting users send the document to any connected printer through the system print interface. - [Screenshot](https://setup.despia.com/native-features/screenshot.md): Capture the visible page and save it directly to the device photo gallery through a single fire-and-forget Despia SDK call. - [Notification Sounds](https://setup.despia.com/native-features/notification-sounds.md) - [Audio](https://setup.despia.com/native-features/audio-player.md): Stream audio with a real native player, lock-screen controls, and live config updates. - [Bluetooth](https://setup.despia.com/native-features/bluetooth.md) - [Age Assurance](https://setup.despia.com/native-features/age-assurance.md): Read the age range the operating system already holds for your user, with a three-state age gate that works the same on iOS and Android. - [Sandbox](https://setup.despia.com/native-features/sandbox.md): Repoint a compiled app at a test environment at runtime without rebuilding, then restore production when testing is done. - [Versioning](https://setup.despia.com/editor/versioning.md): Set your app's public version number and raise it in fixed increments before every store submission. - [Publishing an Update](https://setup.despia.com/editor/publishing-an-update.md): Ship a new binary after your first submission, and know which changes need one at all. - [HealthKit](https://setup.despia.com/roadblocks/deployment/apple-ios/health-kit.md): Your build failed after enabling HealthKit in the Despia editor. Here's why and how to fix it. - [ATT & Tracking](https://setup.despia.com/roadblocks/deployment/apple-ios/att-and-tracking.md): Your Despia build is blocked at submission over NSUserTrackingUsageDescription. Here is what the key means and how to clear it. - [Update Bundle IDs](https://setup.despia.com/roadblocks/deployment/update-bundle-id.md) - [Missing Item](https://setup.despia.com/roadblocks/revenue-cat/missing-item.md): Your paywall is empty or checkout isn't working. Products aren't loading. Here's how to debug it. - [No OTA Updates](https://setup.despia.com/roadblocks/runtime/no-ota-updates.md): Your users aren't receiving OTA updates. Changes deployed to production don't appear in the app. Here's how to fix it. - [Lost Auth Tokens](https://setup.despia.com/roadblocks/runtime/lost-auth-tokens.md): Your users close the app and when they reopen it, they're logged out. Here's how to fix it. - [OAuth Failures](https://setup.despia.com/roadblocks/runtime/o-auth-failures.md): OAuth not working in your Despia native app? This guide focuses on the key difference between web OAuth and Despia native OAuth. - [Slow Apps](https://setup.despia.com/roadblocks/runtime/slow-apps.md): Your Despia app feels sluggish. Here's how to fix it. - [Empty Pages](https://setup.despia.com/roadblocks/runtime/empty-pages.md): Your app loads but shows a blank white screen. Here's how to fix it. - [Wrong Framework](https://setup.despia.com/roadblocks/runtime/wrong-framework.md): Why Despia is its own native runtime, and how to configure AI tools to work with it correctly. - [Watermark Bug](https://setup.despia.com/roadblocks/runtime/watermark-bug.md): You upgraded to a commercial license but the Despia watermark is still visible in your app. Here is why and how to fix it. - [Legacy Setups](https://setup.despia.com/roadblocks/runtime/legacy-setups.md): AI coding tools often generate outdated Despia setups. This guide covers the two most common mistakes: legacy environment detection and targeting the internal window.despia object. - [Introduction](https://setup.despia.com/store-rejections/introduction.md): Your app got rejected. Take a breath. This is normal, fixable, and part of shipping apps. - [Minimum Functionality](https://setup.despia.com/store-rejections/common-rejection/minimum-functionality.md): Your app was rejected for not meeting minimum functionality requirements. Here's what that means and how to fix it. - [Non-Mobile Design](https://setup.despia.com/store-rejections/common-rejection/non-mobile-design.md): Your app was rejected because it looks like a website instead of a native mobile app. Here's how to fix it. - [In-App Purchases](https://setup.despia.com/store-rejections/common-rejection/in-app-purchases.md): Your app was rejected for issues with in-app purchases. Here's what went wrong and how to fix it. - [Deceptive Paywalls](https://setup.despia.com/store-rejections/common-rejection/deceptive-paywalls.md): Your app was rejected because the paywall is misleading or uses dark patterns. Here's what reviewers flagged and how to fix it. - [Privacy Policy](https://setup.despia.com/store-rejections/common-rejection/privacy-policy.md): Your app was rejected because of a missing or inadequate privacy policy. Here's what's required and how to fix it. - [Tracking Transparency](https://setup.despia.com/store-rejections/common-rejection/tracking-transparency.md): Your app was rejected for issues with Apple's App Tracking Transparency (ATT). Here's what went wrong and how to fix it. - [AI Processing](https://setup.despia.com/store-rejections/common-rejection/ai-processing.md): Your app was rejected because it processes user data with AI without proper consent. Here's how to implement Apple's required AI consent flow. - [Spam and Copies](https://setup.despia.com/store-rejections/common-rejection/spam-and-copies.md): Your app was rejected because it's too similar to existing apps. Here's how to differentiate and get approved. - [Social Login Options](https://setup.despia.com/store-rejections/common-rejection/social-login-options.md): Your app was rejected because it offers social login without including the platform's native option. Here's how to fix it. - [User-Specific Data](https://setup.despia.com/store-rejections/common-rejection/user-specific-data.md): Your app was rejected because it collects personal data that isn't necessary for its functionality. Here's how to fix it. - [Blank Screen Redirects](https://setup.despia.com/store-rejections/common-rejection/blank-screen-redirects.md): Your app was rejected because it shows a blank or white screen during authentication. Here's how to fix it. - [Despia for Lovable](https://setup.despia.com/platform-support/lovable.md): Ship your Lovable app to the App Store and Google Play with native billing, push notifications, attribution, and offline support built in. - [Despia for Base44](https://setup.despia.com/platform-support/base44.md): Ship your Base44 app to the App Store and Google Play with native billing, push notifications, attribution, and offline support built in. - [Despia for Replit](https://setup.despia.com/platform-support/replit.md): Ship your Replit web app to the App Store and Google Play with native billing, push notifications, attribution, and offline support built in. - [Despia for Claude Code](https://setup.despia.com/platform-support/claude-code.md): Ship your Claude Code web app to the App Store and Google Play with native billing, push notifications, attribution, and offline support built in. - [Despia for Cursor](https://setup.despia.com/platform-support/cursor.md): Ship your Cursor-built web app to the App Store and Google Play with native billing, push notifications, attribution, and offline support built in. - [How it Works](https://setup.despia.com/lovable/how-it-works.md): Add real native device features to your Lovable-generated app and deploy to App Stores - no native code required. - [User Agent](https://setup.despia.com/lovable/native-features/user-agent.md): Detect whether your app is running in the Despia native runtime and identify the platform (iOS or Android) by checking the user agent string. - [OneSignal](https://setup.despia.com/lovable/native-features/onesignal.md): Send targeted remote push notifications via OneSignal to users even when your app is closed. - [Deeplinking](https://setup.despia.com/lovable/native-features/deeplinking.md): Configure universal links (iOS) and app links (Android) to enable direct app opening from web URLs in your Lovable mobile app. - [Apple Auth](https://setup.despia.com/lovable/native-features/o-auth-2-0/apple-auth.md) - [Google Auth](https://setup.despia.com/lovable/native-features/oauth/google.md): Access the real native Google OAuth 2.0 using the ASWebAuthSession and Chrome Custom Tabs via a simple to use SDK - [TikTok Auth](https://setup.despia.com/lovable/native-features/oauth/tiktok.md): Access the real native TikTok OAuth 2.0 using the ASWebAuthSession and Chrome Custom Tabs via a simple to use SDK - [Paywalls](https://setup.despia.com/lovable/native-features/paywalls.md): Monetize your Lovable mobile app with seamless payment processing through Apple and Google's native billing systems using RevenueCat Paywalls. - [Restore Purchase](https://setup.despia.com/lovable/native-features/restore-purchase.md): Restore and retrieve a user's complete purchase history from Apple App Store and Google Play Store using the Despia SDK. - [Storage Vault](https://setup.despia.com/lovable/native-features/storage-vault.md): Store and retrieve user identity data that persists across app sessions through your Lovable mobile app using the Despia SDK. Perfect for identifying users, preventing trial abuse, and managing login sessions. - [GPS Location](https://setup.despia.com/lovable/native-features/gps-location-1.md): Track and retrieve a user's real-time location data with configurable intervals using the Despia SDK. - [Rewarded Ads](https://setup.despia.com/lovable/native-features/rewarded-ads.md): Monetize your Lovable mobile app with native rewarded video advertisements that grant users in-app rewards. - [External Links](https://setup.despia.com/lovable/native-features/external-links.md): Control how your app handles external links with custom routing for payments, OAuth, and deep linking - [Device Indexing](https://setup.despia.com/lovable/native-features/device-indexing.md): Access the unique device identifier of native mobile devices in your Lovable application. - [Haptic Feedback](https://setup.despia.com/lovable/native-features/haptic-feedback.md): Add native tactile feedback to enhance user interactions in your Lovable mobile app. - [Contact Access](https://setup.despia.com/lovable/native-features/contact-access.md): Retrieve and display contact information from users' devices within your Lovable application. - [HealthKit](https://setup.despia.com/lovable/native-features/health-kit.md): Retrieve and display health and fitness data from users' Apple HealthKit within your Lovable application. - [Siri Shortcuts](https://setup.despia.com/lovable/native-features/siri-shortcuts.md): Enable Siri voice shortcuts with custom natural language commands that trigger JavaScript functions in your Lovable mobile app using the Despia SDK. - [Biometrics](https://setup.despia.com/lovable/native-features/biometrics.md): Add Face ID, Touch ID, and device passcode authentication to secure sensitive features in your Lovable application. - [App Privacy](https://setup.despia.com/lovable/native-features/app-privacy.md): Check user privacy consent status for Apple's App Tracking Transparency (ATT), GDPR compliance, and privacy regulations in your Lovable application. - [Safe Areas](https://setup.despia.com/lovable/native-features/safe-areas.md): Handle device safe areas (notches, status bars, home indicators) using custom CSS variables for responsive mobile layouts in your Lovable application. - [Camera Roll](https://setup.despia.com/lovable/native-features/camera-roll.md): Save images directly to the device's photo gallery from your Lovable mobile app. - [Offline Push](https://setup.despia.com/lovable/native-features/offline-push.md): Send instant local notifications to users with customizable messages, titles, and timing through your Lovable mobile app. - [App Settings](https://setup.despia.com/lovable/native-features/app-settings.md): Open your app's native settings page directly from within your Lovable mobile app to guide users to permission controls. - [Home Widgets](https://setup.despia.com/lovable/native-features/home-widgets.md): Display dynamic SVG content in iOS home screen widgets with real-time data updates and user personalization through your Lovable mobile app. - [File Sharing](https://setup.despia.com/lovable/native-features/file-sharing.md): Enable native file sharing capabilities in your Lovable mobile app, allowing users to share files of any type through their device's built-in sharing system. - [Screen Brightness](https://setup.despia.com/lovable/native-features/screen-brightness.md): Control device scanning behavior with configurable modes (auto, on, off) and automatic screen brightness adjustment through your Lovable mobile app using the Despia SDK. - [Share Dialog](https://setup.despia.com/lovable/native-features/share-dialog.md): Enable native social sharing capabilities with customizable message and URL parameters through your Lovable mobile app using the Despia SDK. - [Clipboard](https://setup.despia.com/lovable/native-features/clipboard.md): Retrieve clipboard content from users' devices within your Lovable application. - [Store Location](https://setup.despia.com/lovable/native-features/store-location.md): Access the user's current store location for location-based services, regional content, and localized experiences in your Lovable application. - [Share Extension](https://setup.despia.com/lovable/native-features/share-extension.md): Access shared content (images and text) from other apps when your Lovable application is opened via share functionality. - [Quick Actions](https://setup.despia.com/lovable/native-features/quick-actions.md): Create native mobile application shortcuts that allow users to access specific workflows in your Lovable app without even opening it. - [Simple Storage](https://setup.despia.com/lovable/native-features/simple-storage.md): Persist data directly on the user's device using simple read/write commands with the Despia SDK. - [Print Documents](https://setup.despia.com/lovable/native-features/print-documents.md): Enable native printing capabilities in your Lovable mobile app, allowing users to print images and PDFs directly from their device using the device's built-in print system. - [Screenshot](https://setup.despia.com/lovable/native-features/screenshot.md): Capture full page screenshots and save them directly to the device's photo gallery through your Lovable mobile app using the Despia SDK. - [OneSignal V1](https://setup.despia.com/lovable/legacy-features/one-signal-v1.md): Send targeted remote push notifications via OneSignal to users even when your app is closed - [GPS Location](https://setup.despia.com/lovable/native-features/gps-location.md): Retrieve and monitor real-time location data from users' devices in the background within your Lovable application. - [Test](https://setup.despia.com/authentication/payments/test.md) - [Introduction](https://setup.despia.com/extensions/introduction.md): A native extension system for advanced developers solving problems Despia cannot anticipate. Wrap any iOS and Android SDK into a plugin, declarative, open source, callable from your web layer. - [Reference](https://setup.despia.com/refernce.md): Cache remote files locally for offline access with background downloads ## OpenAPI Specs - [openapi](/api-reference/openapi.json)