Introduction

Getting started with WebToApp advanced features

WebToApp isn't just a simple webview wrapper. It provides a powerful bridge between your web application and native device capabilities.

Power User Features

  • JavaScript Bridge: Communicate between your website and the app (push, ads, GPS).
  • Native bridge (two-way): Call the app from your page and receive events back (app foreground, network changes, push taps, rewarded ads) with WebToApp.call and WebToApp.on.
  • Device Location: Read GPS coordinates via the getLocation bridge message.
  • Camera & Microphone: Use standard getUserMedia when enabled at build time.
  • Push Notifications: OneSignal or Firebase Cloud Messaging — identify users and send targeted messages.
  • AdMob: Monetize your app with native ads triggered from your site.
  • In-app purchases (RevenueCat): Sell subscriptions with App Store and Google Play billing, and on the web with RevenueCat Web Billing, using one entitlement per user.
  • Native Navigation: Control how links open (in-app vs external browser).
  • AI agents (MCP): Let Claude or another AI agent create, configure and build your apps with an API token.

These features require small modifications to your website's JavaScript. Browse the guides in the sidebar to implementation details.