Skip to content

PWABuilder PWA to Capacitor with Capgo

PWABuilder is a free, open-source Microsoft tool that scores your PWA and generates store packages for Microsoft Store, Google Play (Trusted Web Activity via Bubblewrap), and iOS. Store listings load your hosted PWA, so deploying the website updates installed apps without a new store submission.

Capacitor bundles your production web build inside native iOS and Android projects. With Capgo Build and live updates, you can request signed native binaries from any OS and ship staged web updates with rollback. For an honest comparison, see PWABuilder vs Capgo on the marketing site.

PWABuilder fits when:

  • Your PWA already has a complete manifest and is served over HTTPS at a public URL
  • You need free store packaging and your UI works as a hosted or TWA experience
  • You do not need Capacitor native plugins, offline asset bundles, or Capgo channel rollouts

Microsoft Store packaging is a first-class PWABuilder path. Android uses a Bubblewrap TWA. PWABuilder documentation notes that iOS packaging is more limited and that App Store acceptance depends on your UI and native capability use.

Move to Capacitor with Capgo when you need:

  • Native APIs (push, camera, biometrics, file system, and Capgo plugins from the plugin directory)
  • Offline bundles that do not depend on your server being reachable at launch
  • Cloud iOS builds without maintaining a Mac (see Capgo Cloud Build)
  • Live updates with channels, staged rollout, and rollback (live updates)

The PWABuilder to iOS and Android solution summarizes the marketing workflow. This doc is the implementation reference.

  1. Confirm PWABuilder prerequisites (optional audit). Your app should be on HTTPS, expose a web manifest, and meet the baseline PWA checks described in PWABuilder quick start. If you already packaged successfully, you can skip re-running PWABuilder.

  2. Open the web project that builds your PWA. PWABuilder does not replace your framework repo. Clone your app, install dependencies, and run your production build. Note the output folder (dist, build, out, or www).

  3. Adapt browser-only behavior. Remove or guard install prompts, and avoid assuming a browser tab context. See Transform your PWA to a native app for WebView-specific checks.

  4. Add Capacitor with the same webDir as your build output:

    Terminal window
    npm install @capacitor/core @capacitor/cli @capacitor/ios @capacitor/android
    npx cap init "Your App" com.company.app --web-dir dist
    npx cap add ios && npx cap add android
    npm run build && npx cap sync
  5. Register Capgo and enable live updates using CLI onboarding or npx @capgo/cli@latest init. Install @capgo/capacitor-updater before your first store release if you plan to ship web changes without waiting for review, then run npm run build && npx cap sync before requesting native builds.

  6. Build native binaries in Capgo Cloud (no Mac required for iOS on the main path):

    Terminal window
    npx @capgo/cli@latest build init
    npx @capgo/cli@latest build request --platform ios
    npx @capgo/cli@latest build request --platform android
  7. Upload web bundles after each production build:

    Terminal window
    npm run build
    npx @capgo/cli@latest bundle upload --channel=production --auto-bump
  • Wraps a live URL (TWA on Android, WebView projects on iOS)
  • Updates when users are online and your server serves new content
  • Little or no native plugin surface beyond what the platform wrapper exposes
  • iOS output requires Xcode on a Mac per PWABuilder App Store docs

If you already published a Bubblewrap TWA from PWABuilder, you can ship a Capacitor Android app to the same Play listing when you reuse the signing key and application ID. Plan the migration before changing package names. Push notifications and other native features require a new native build after you add plugins.

If you use Claude Code, Cursor, or Codex, the hosted Capgo MCP server and Web app to mobile app guide follow the same phases: plan, static build, Capacitor, plugins, readiness check, cloud build, and live updates.