Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Custom Tabs and Trusted Web Activity: Digital Asset Links and Integration

When to use Custom Tabs versus Trusted Web Activity on Android, how Digital Asset Links verify your site, and how to set up Bubblewrap or android-browser-helper.

This page summarizes Chrome for Developers documentation on opening web content inside Android apps. Custom Tabs keep users in your app while using their preferred browser engine; Trusted Web Activity (TWA) extends that protocol to full-screen PWAs you own. Both rely on the Android intent system and, for trusted full-screen mode, on Digital Asset Links.

Custom Tabs vs Trusted Web Activity: which in-app browser mode to choose

Section titled “Custom Tabs vs Trusted Web Activity: which in-app browser mode to choose”

Custom Tabs are a customized browser tab inside your app: toolbar, menus, and theming stay under your control while rendering uses the user’s browser.

Custom Tabs are a feature in Android browsers that gives app developers a way to add a customized browser experience directly within their app.

— Google Chrome, Overview of Android Custom Tabs

Trusted Web Activity removes browser chrome when the app and site are verified as the same developer.

Trusted Web Activity is a new way to open your web-app content such as your Progressive Web App (PWA) from your Android app using a protocol based on Custom Tabs.

— Google Chrome, Overview

Goal Prefer
Third-party or mixed-domain links, auth, or embedded browsing Custom Tabs
Your PWA full screen inside your Android app Trusted Web Activity
Only your own HTML inside the app, heavy JS injection WebView (see WebView overview); not the focus of TWA

Trusted Web Activities extend the Custom Tabs protocol and shares most of its benefits. But, instead of providing a customized UI, it allows developers to open a browser tab without any UI at all. It is recommended for developers who want to open their own Progressive Web App, in full screen, inside their own Android app.

— Google Chrome, Overview of Android Custom Tabs