PWA & Offline
Turn your app into an installable Progressive Web App with offline support — manifest, service worker, and caching generated automatically.
What is a PWA
A Progressive Web App (PWA) is a web application that can be installed on a device and works offline. PWAs feel like native apps — they appear on the home screen, launch in their own window, and function even without an internet connection.
- Installable — Users can add your app to their home screen on mobile or desktop.
- Offline-capable — Cached assets are served when the device is offline.
- App-like experience — Launches in a standalone window without browser UI.
- No app store required — Users install directly from the browser.
Enabling PWA
Turn on PWA support for your app with a single toggle. GenMB generates all the required files automatically — no manual configuration needed.
Open app settings
Enable the PWA toggle
Deploy your app
Users can install
HTTPS Required
PWA features require HTTPS, which is automatically provided when you deploy to a *.genmb.com subdomain or custom domain. The editor preview does not support PWA installation because it runs in an iframe without its own HTTPS origin.What Gets Generated
When you enable PWA, GenMB generates the standard files that browsers need to recognize your app as installable and offline-capable.
manifest.jsonContains your app name, theme color, display mode, icons, and start URL.
Service workerHandles caching strategies and offline fallback behavior.
Offline fallbackA simple page displayed when the user is offline and the requested page is not cached.
Meta tagsAdded to your HTML head for theme color, viewport, and Apple touch icon support.
Installing on Devices
Once your PWA-enabled app is deployed, users can install it on their devices directly from the browser. The installation process varies by platform.
Chrome shows an "Add to Home Screen" banner automatically. Users can also tap the browser menu and select "Install app."
Users tap the Share button in Safari and select "Add to Home Screen."
Chrome and Edge show an install icon in the address bar. Click it to install the app as a standalone window.
Home Screen Installation
After installation, the app icon appears on the home screen and launches in a standalone window — no browser chrome, no address bar. It feels like a native app. Users can return to it by tapping the icon, just like any other app on their device.Offline Behavior
The service worker caches your app's static assets so they load even without an internet connection. This provides a reliable experience for users on flaky networks or in areas with no connectivity.
- HTML, CSS, and JavaScript files are cached on first visit.
- Cached assets are served instantly when the user returns — even offline.
- Dynamic data (API calls, real-time content) requires a network connection. Offline users see a fallback message for dynamic content.
- The cache is updated when the user visits the app with a network connection, ensuring they get the latest version.
Offline Limitations
Only static assets (HTML, CSS, JS) are available offline. Features that depend on API calls — such as AI chatbot, file storage, or database queries — require a network connection. The service worker does not cache dynamic API responses by default.Customization
Customize the PWA appearance and behavior in the app settings. These settings control how your app looks when installed on a device.
The name shown on the home screen and in the app switcher.
Controls the browser toolbar color and splash screen accent.
The app icon displayed on the home screen. Provide a square image for best results.
Standalone (default) hides the browser UI. Fullscreen removes the status bar as well.
FAQs
Does PWA work in the editor preview?▾
Can I customize the offline fallback page?▾
Does the PWA auto-update when I redeploy?▾
Is PWA available on the Free plan?▾
Ready to build?
Create your first app for free — no credit card required.