Troubleshooting Website Loading and Display
Fix common problems with your website inside the app: offline page shown, sign-in not kept, links opening in the browser, pop-ups, layout and changes not showing.
The app shows the offline page
The app shows it when your website cannot be reached, or a page is still loading after the connection timeout.
- Check that your site is online over HTTPS at the URL in your project details.
- If your site is slow, increase the Connection timeout in Branding › Offline page.
- Check that your server or firewall does not block mobile networks or the app's user agent (it contains
WebAppStudio/).
Users are signed out, or sign-in opens the browser
If your sign-in or checkout runs on another domain, add that domain to Domains that always open in the app in Release › Build › Links & sign-in. Otherwise the session is created in the browser and the app stays signed out. See Link handling.
Google sign-in does not work inside apps (disallowed_useragent); use the native Sign in with Google plugin.
Links open in the wrong place
- Other websites open in the browser by default. Choose Keep other websites in the app, or list specific domains, in Links & sign-in.
- Pop-ups (
window.open,target="_blank") open as stacked windows; adjust Maximum Windows in WebView behavior.
Layout problems
- Content under the status bar or notch: with Overlay website content on, add safe-area spacing (
env(safe-area-inset-top)), or turn the overlay off in System bars. - Two headers: hide your site's header in the app, or turn off the native top bar.
- Text too small or too large: see Accessibility and languages.
- The tab bar covers content: add bottom spacing on pages with fixed footers, or hide the tab bar on those pages.
The back button or swipe does not work
Single-page apps must update the browser history (history.pushState) when they change views. Check Gestures and push navigation rules.
Changes do not show in the app
- Make sure you saved: the save bar shows unsaved changes.
- Runtime settings reach installed apps without a build: close and reopen the app.
- Native changes (icon, splash screen, permissions, push provider, new plugins) need a new build and a new install or store update. See Live updates vs. new builds.
The simulator does not show my website
Some sites forbid being embedded in another page. The simulator then shows a link preview; the installed app is not affected. Test in a Preview build.