WebView settings
Updated
The WebView page in App Studio sets how your Android app loads, saves and shows your website: the layout around it, what people see while a page opens, caching, offline and error pages, gestures, video, cookies and more. Every setting has a sensible default, so you can leave the page alone and still get a fast app. The live preview next to the page plays each setting as you change it.
Live settings and new builds
Each card shows when its changes reach apps that are already installed:
- Live: installed apps pick up the change the next time they open. No new build is needed. This applies to Loading experience, Offline and errors, Pages and windows, and Shopify store extras.
- Next build: the change is part of your next Android build. This applies to App layout, Speed and caching, Gestures and feel, Media, files and downloads, Cookies and sessions, and Advanced.
When you have saved a change that needs a build, the page shows Changes need a new build with a Build now link. See Android builds.
Some settings also appear on other pages, and changing them in one place changes them everywhere: the fade amount, spinner colour, pull to refresh, swipe gestures, zoom, text size, windows, viewport and the offline page are on the Interface page too. Pull to refresh and swipe gestures here are the Android ones. The others also apply to your iOS app.
Simple and Advanced view
Simple shows the essentials. Advanced adds timings, colours, window limits and developer settings. App Studio remembers your choice in this browser.
App layout
Choose how the app wraps your site:
- Full screen: just your site, edge to edge. People use your site's own menu to get around.
- Bottom tabs: your site with app tabs along the bottom.
- Top bar and tabs: a title bar on top and tabs along the bottom.
- Side drawer: a title bar with a menu that slides in from the side.
When you turn tabs on and the app has none yet, Shopify apps get Home, Collections, Search, Cart and Account. Websites get a Home tab; add more in Navigation. A new drawer starts with a Home item.
You can also set the bar title (leave it empty to show each page's own title), show a back button in the top bar, show tab labels under the icons, and pick the bar colour: Match theme follows light and dark mode, Brand colour uses your primary colour with white or dark text, whichever is easier to read. If your navigation mixes bars in another way, no layout is selected; the details live in Navigation.
App speed
The App speed card shows how fast your app is on real phones over the last 7 days:
- a score out of 100, rated Good (75 and above), Fair (50 to 74) or Poor
- First page load: the first page after the app opens
- Next page load: every page after that
- Offline opens: app opens that showed the offline page, and their share of all opens
- Crashes recovered: pages that stopped working and were reloaded by the app
Numbers appear once your installed app has had at least 20 page loads in a week. Under them, Recommended lists the settings that make the biggest difference. Press Apply on one, or Apply all.
Loading experience
- Loading style: what people see while a page opens. Native fade fades the old page, Top progress bar draws a thin bar along the top, Skeleton screen shows grey placeholder blocks and Spinner only shows a spinner in the middle.
- Fade amount and the spinner and progress colour (one for light mode and one for dark mode).
- Show the splash until the first page is ready: people go from your logo straight to a finished page. Longest wait closes the splash after 1 to 8 seconds even if the page is still loading.
- Slow-load message: a short note, such as "Still loading…", when a page takes longer than the time you set.
Speed and caching
- Cache strategy: Standard follows your site's normal browser caching. Smart opens pages visited in the last 24 hours straight from the phone, then refreshes the saved copy in the background. Cart, checkout, account, search and pages after a form is sent always load from your site. Always fresh never reuses a saved page.
- Preload your tab pages and Other pages to preload (Starter plan and above): chosen pages load quietly after start-up, so they open instantly. Add a path like
/pages/about, or a pattern like/collections/*to load up to 3 matching links of the page people are on. You can add up to 10. Cart, checkout, account and search pages always load fresh, so they are never preloaded. Preloading uses a little more mobile data, so keep the list short. - Keep tab pages alive: each tab keeps its page and scroll position, so switching tabs doesn't reload it. Choose how many tabs stay open (1 to 5); the one used longest ago closes first. More than 3 can slow down older phones.
- Start loading when a link is pressed: the next page of your site starts loading the moment a finger touches a link. Cart, checkout, account and search pages are left out, so they always show the latest.
- Clear the cache when the app updates: people get a clean start after each update.
- Clear all users' cache (danger zone): every phone removes its saved pages the next time the app opens. Sign-ins and baskets are kept. You can undo it while the page is still open.
Offline and errors
- No connection: the Default page in your app's colours, or a Custom page: one HTML file with its CSS inside, up to 2 MB. The app downloads your custom page once and keeps it for offline use.
- Wait before showing the offline page: how long the app keeps trying a slow page (3 to 60 seconds).
- Show cached pages when offline: people can still open pages they have already visited. This needs the Smart cache strategy.
- Auto-retry when back online: the page reloads by itself when the connection returns.
- Error page style: a Native card in your app's colours with Home and Retry buttons for missing pages, server errors, security errors and page crashes, or Your site's own page. Security errors and crashes always use the native card, because there is no page to show.
- Crash recovery is always on: if a page stops working, the app reloads it.
Gestures and feel
- Pull to refresh and its colour.
- Swipe back and forward from the edges of the screen, and the arrow colour.
- Pinch to zoom. Most apps leave it off.
- Respect the phone's text size: text follows the size chosen in the phone's settings.
- Remove the tap highlight: no grey flash when a link or button is tapped.
- Disable long-press menu on images and links.
- Overscroll glow: the system glow at the top and bottom of a page, or off.
- Viewport: Device width suits almost every site. Fixed 390 or Fixed 768 lays out sites that aren't responsive at that width.
Media, files and downloads
- Autoplay video with sound: when off, a video with sound starts on a tap. Muted videos still play by themselves.
- Full-screen video, and Rotate to landscape in full screen.
- Save downloads to the Downloads folder: files appear in the phone's Downloads folder ("Saved to Downloads"). When off they are saved inside the app ("Saved inside the app").
- File upload sources: whether a file field offers the camera, the gallery, files, or a mix. At least one stays on.
Pages and windows
Pop-up windows decides where links that ask for a new window open: Open in app (a new window inside the app), In-app browser or Outside the app. Maximum open windows closes the oldest window when the limit is reached, and Auto-close finished windows closes a window once its job is done, such as after a sign-in. Rules for specific links still come first: see Link rules.
Cookies and sessions
- Keep users signed in: people stay signed in and keep their basket between visits.
- Allow third-party cookies: some payment and sign-in pages need them. On Shopify, place a full test order before you turn them off.
- Mixed content: what happens when a secure page includes images or scripts from an insecure address. Block (secure), Compatibility (the default) or Allow (not recommended).
Shopify store extras
Only for apps built from a Shopify store:
- Hide the Shopify preview bar and admin bar: people never see the bars Shopify shows to store staff.
- Hide the cookie banner inside the app: app visitors are treated as if they declined optional cookies, so tracking pixels stay off for them.
- Open checkout: In the app or in the In-app browser. This sets the Checkout rule in Link rules.
- Storefront password: for password-protected development stores, set it once on the Overview page.
Advanced
Most apps never need these:
- User agent: the name the app gives to your site, shown read-only. Change it in Web Overrides: see User agent.
- Hardware acceleration: Software fixes rare graphics glitches, but scrolling is less smooth.
- Remote debugging (Chrome DevTools): inspect the app's pages from Chrome on your computer. It only works in debug builds and is never part of a release build.
- Safe Browsing: warns people before they open a page known for scams or harmful software.