Every Capwrapper build ships with 40 native bridges already compiled into your app. You do not install plugins, configure SDKs, or write native code. The bridges cover everything from camera and GPS to push notifications, biometrics, in-app purchases, and analytics — and the same JavaScript API works identically on iOS and Android.
Detecting Capwrapper in your code
Before calling any native bridge, check whether your web app is running inside Capwrapper or in a regular browser. This lets you build progressive enhancements that degrade gracefully on the web.
if ( window . isNativeApp ) {
// Running inside AppWrapper — native features available
// window.platform is either 'ios' or 'android'
} else {
// Running in a regular browser
}
Use window.platform to branch between iOS- and Android-specific behavior when needed.
If you use an AI builder (Base44, Bolt, Lovable, Cursor, or Replit), paste any code snippet from this guide and describe the feature you want to add. The AI can implement the full integration for you.
Three activation tiers
All 40 bridges are compiled into every build. How you unlock each one depends on the tier.
Automatic 7 features work from the very first launch with zero configuration and zero code.
Activate with code ~32 features activate by adding a JavaScript snippet to your web app.
Needs external setup ~11 features require an external account or a file on your domain. Capwrapper handles the app-side integration.
All 40 native bridges
The table below lists every bridge and its JavaScript class name. Click the category pages to see usage examples.
Core
Bridge What it does NativePrintPrint the current page, PDF files, or custom HTML NativeOfflineCache pages and assets; real-time online/offline events NativeAppLinksUniversal Links / App Links — URLs open in-app NativeOTAOver-the-air updates without app store re-submission NativePerformancePreload URLs for instant navigation; clear cache
Auth & security
Bridge What it does NativeSecurityRoot/jailbreak detection; encrypted Keychain (iOS) / SharedPreferences (Android) NativeSocialLoginNative Google, Facebook, and Apple sign-in via their SDKs NativePasskeyPasswordless login with Face ID or fingerprint (WebAuthn)
Device access
Bridge What it does NativeDevicePhone/tablet detection, screen size, orientation, platform NativeContactsRead device contacts (name + phone number) NativeCalendarAdd events to the native calendar NativeHealthStep count from Apple Health / Google Fit NativeBackgroundLocationContinuous GPS tracking while the app is in the background NativeConnectivityWiFi/cellular/offline status, VPN detection, speed test
Bridge What it does NativeQRScannerScan QR codes and barcodes (EAN-8, EAN-13, Code 128, Code 39) via camera NativeDocScannerCamera-based document scanner with edge detection and enhancement NativeMediaPlayerNative audio/video playback; audio continues in background NativeBackgroundAudioPlay audio when the app is backgrounded NativeMediaPlay video and audio, stop playback NativeScreenshotCapture the current screen as an image NativeFileUploadPick photos, documents, or any file from the device
UI & navigation
Bridge What it does NativeUINative share sheet, alerts, and confirm dialogs NativeNavigationSet the title bar; open and close the drawer NativeTabBarNative bottom tab bar NativeSidebarNative sidebar / drawer menu NativeSearchNative search bar at the top of the screen NativeOnboardingWelcome tutorial that remembers completion
Engagement
Bridge What it does NativeNotificationsPush notifications; schedule local notifications NativeRatingShow the native “Rate this app” dialog NativeMessagingNative popup with title, message, and CTA button NativeInAppPurchaseSubscriptions and digital goods via RevenueCat NativeAdMobBanner, interstitial, and rewarded ads via Google AdMob NativeReceiptPurchase receipt validation
Data & storage
Bridge What it does NativeDatastoreEncrypted key-value storage that persists across app restarts NativeDownloadDownload files to the device’s Downloads folder with progress NativeAnalyticsLog custom events to Firebase Analytics
Maps & location
Bridge What it does NativeMapsOpen addresses or coordinates in Apple Maps or Google Maps
Specialized
Bridge What it does NativeVoiceSpeech-to-text for search, notes, and accessibility NativeBeaconScan for BLE / iBeacon beacons nearby NativeShareIntoReceive content shared into your app from other apps
Explore by tier
Automatic features 7 features that work with zero code from day one.
Code-activated features ~32 features you unlock with a JavaScript snippet.
External setup ~11 features that need an external account or domain file.