Hercules

MobileGet Started

Build your appMobile

Mobile Apps

Turn your Hercules app into a mobile app that people install on their phone. Install it from the web as a PWA in seconds, or publish it to Google Play and the App Store. Test it on a real device first.

How do I get started?

  1. Click Mobile in the Sidebar
  2. Click Enable mobile support. Hercules adds a web app manifest (the file that names your app and its icon), icons, and a service worker (a script that lets your app open without a connection)
  3. Install it on your phone from the web by following the steps on screen. When you are ready for the stores, click Publish to App Store

To make the layout work better on small screens, ask Hercules:

Optimize for mobile
Optimize my app for mobile

How do I publish my app to the App Store?

Publish to App Store

Submit your app to the App Store and Google Play

What is a PWA?

A Progressive Web App (PWA) installs on a phone like a native app. It has an app icon, opens full screen, starts without a connection, and can send push notifications.

What can my mobile app do?

What works depends on how people install your app:

FeatureInstalled from the web (PWA)Android app (Google Play)iOS app (App Store)
Push notificationsYes. On iPhone, after Add to Home Screen (iOS 16.4 or later)Yes, with Android push notifications onYes, with iOS push notifications on
CameraYesYes, with Camera onYes, with Camera on
MicrophoneYesYes, with Microphone onYes, with Microphone on
Location while the app is openYesYes, with Location onYes, with Location on
Location in the backgroundNoYes, with Background location onYes, with Background location on
Home screen iconYesYesYes

The store app settings are in App settings (the gear icon at the right of your app's name, at the top of the Mobile page). A store build only has what was on when it was built, so build again after you change them.

What can't my mobile app do?

Hercules store builds include no native features beyond the ones above, so these do not work today:

  • Background audio (playing with the app closed or the screen locked)
  • Custom native plugins or SDKs, such as AdMob, in-app purchase (StoreKit or Google Play Billing), Bluetooth, or syncing phone contacts

To sell or show ads in a store app, see payments and ads in store apps.

What is inside the Android and iOS apps?

Hercules wraps your published app in a small native app built with Capacitor (an open source app shell). The native app shows your app in the phone's built-in web view, so changes you publish reach it the next time it opens. See Update Your App.

  • Android: a Capacitor app that shows your app in Android WebView, plus push notifications through Firebase Cloud Messaging when you turn them on. It is not a Trusted Web Activity (TWA, a format that runs your app in Chrome). A browser-based TWA option shows on the build step only for accounts in an early test today
  • iOS: a Capacitor app that shows your app in WKWebView, the iPhone's built-in web view, plus Apple push notifications when you turn them on
  • Telling the app apart from the website: the store app adds HerculesNative to its user agent (the text a browser sends to identify itself). Ask Hercules to use it to hide what a store does not allow, such as checkout for digital items
  • Code export: Download App Code contains your web app's code only. Hercules creates the Android and iOS projects for each build, and they are not part of the export
  • Android signing: Hercules creates the upload key on your first Android build and keeps it. See Do I need to save my Android signing key?

How does sign-in work in the store app?

Your store app uses the same Hercules Auth sign-in as your website:

Sign-in methodIn the store app
Email code, email and password, username and password, SMS codeStays inside the app
Google, Apple, Microsoft, Facebook, LinkedIn, single sign-onOpens a sign-in window over the app, then returns to the app

Google does not allow its sign-in page inside an app's web view, so social sign-in opens over your app:

  • iPhone and iPad: iOS asks whether your app may use your sign-in domain, and your users tap Continue. A sign-in sheet opens, and it closes on its own when they finish
  • Android: a browser tab opens, and the app comes back to the front when they finish. If the browser shows a Return to the app page instead, they tap its button. A browser that cannot open a tab over the app opens in full

This needs an iOS build from November 6, 2026 or an Android build from November 18, 2026. Older builds open the phone's browser, which shows a Return to the app page after sign-in, and your users switch back to the app themselves. App Review rejects iOS apps that send sign-in out to the browser. Build the app again and submit the new build. Recent builds marks an older build with a note next to Build again.

The app waits up to 10 minutes for social sign-in to finish. After that, or if the app still shows the sign-in page, tap the sign-in button again.

Links in emails, such as email verification and password reset links, open in the browser, not in the app. After using one, go back to the app and sign in.

For App Review, give the reviewer an account that signs in with a password. See demo accounts.


Ready to publish?

Submit your app to the App Store and Google Play