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.window.platform to branch between iOS- and Android-specific behavior when needed.
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
Auth & security
Device access
Media & scanning
UI & navigation
Engagement
Data & storage
Maps & location
Specialized
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.
