4KM Tech — Independent reviews and buying guides for consumer electronics and home technology.

Native Android vs Trusted Web Activity for B2B Catalogues

A wholesaler already running a reliable mobile website may decide that buyers should be able to open its product catalogue from an icon on an Android device. The company could commission a native Kotlin application using Jetpack Compose, or package its progressive web application using a Trusted Web Activity. These are not interchangeable ways of presenting HTML. A Trusted Web Activity uses a browser-based protocol built on Custom Tabs and relies on a verified relationship between the Android package and the web origin. This is materially different from a Capacitor application that normally hosts its web interface inside an Android WebView. The right choice depends on product requirements, the website's quality, authentication and the cost of maintaining the app after launch.

Android robot marking the Android platform on which a native or Trusted Web Activity catalogue can be installed
Android robot, Google Inc., via Wikimedia Commons, licensed CC BY 3.0, unmodified; Android trademark rights remain separate. Platform identification, not a fictional product screenshot.

1. Clarify the commercial need for an installed catalogue

Imagine a business customer who regularly checks product specifications, stock availability and negotiated prices before placing a purchase order. If the responsive website already makes that process quick and reliable, an installed app is not automatically more valuable. Ask what buyers cannot do comfortably in the browser. They may want a stable home-screen entry, offline access to product documents, push notifications for order updates or device integration such as scanning product labels. Each requirement has a different implementation cost and security implication.

Define the acceptance journey: authenticate, find a product, see the correct account-specific price, add a draft order and submit it. Include the case where a negotiated price changes while the buyer is disconnected. A website and an installed application should use the same server-side authorisation and pricing rules. Do not store a privileged account's price as public cache content. The business needs consistent entitlements across channels, not two independent sources of commercial truth.

2. What native Kotlin and Compose provide

Jetpack Compose supplies declarative Android UI components integrated with Kotlin code and platform APIs. Android Studio provides the conventional Android build and profiling environment. An Android-first product may use native screens for rich item scanning, offline drafts, secure local storage and device-managed workflows. A native application can own the full UI lifecycle and decide exactly how remote data is represented to the user.

This control has costs. A separate native catalogue must be maintained alongside the business website, or it must draw content through well-designed shared APIs. Changes to a product schema can affect both channels. The team needs a supported device matrix, dependency updates, signed releases and an on-call process for client failures. The native route makes sense where the business need genuinely justifies those obligations, not simply because a store listing sounds more professional.

3. What a Trusted Web Activity actually is

Chrome's Trusted Web Activity overview describes opening a web application's content from an Android application using a protocol based on Custom Tabs. The app and website must belong to the same verified publisher. This is normally a good fit for an existing web experience that is already mobile-first and meets the required quality standards. The browser remains responsible for rendering the web content, unlike a custom native Compose interface.

This difference matters for feature expectations. A TWA can expose the capabilities available to the supported browser and web platform, but it does not automatically inherit arbitrary private Android APIs simply because the website is launched from an installed package. Native integration beyond ordinary web capabilities demands deliberate architecture and supported browser/Android features. The correct comparison should specify a browser and device support matrix instead of vaguely asserting that every native function is available.

4. Domain verification and Digital Asset Links

The defining security boundary is the relationship between the package and the website. The official quick-start guide explains that digital asset links prove ownership and that failed verification can cause a fallback to a browser Custom Tab. The website uses /.well-known/assetlinks.json to associate the Android package and signing certificate. This is not an optional branding detail: it is the basis for the trusted full-screen experience.

Prepare for signing-key changes. Google Play app signing and local upload keys can have different certificate fingerprints, so deployment must use the correct fingerprint for the installed application. The Android concepts guide documents the distinction. A developer should verify the packaged application after distribution rather than assume it works because a debug build succeeded. If the website domain changes or the signing relationship breaks, diagnose the fallback instead of silently changing browsers or granting broader access.

5. Offline catalogues require content classification

A PWA may cache static assets, public product descriptions and selected application shell resources. Account-specific prices, order drafts and customer records demand more careful treatment. Decide what may be retained locally, for how long, and what happens on sign-out. An offline catalogue should say when inventory information was last refreshed. A buyer must not be misled into treating a cached availability figure as a guaranteed stock reservation.

Service workers and web storage can support offline experiences, but they do not automatically solve duplicate order submission or conflict resolution. Use stable request identifiers, clear pending states and server validation on reconnect. Test a buyer switching between two company accounts on the same device, especially where the web app caches data. A successful offline test is one that preserves the draft without exposing one organisation's confidential prices to another—not merely one in which the homepage loads without signal.

6. Authentication, cookies and browser behaviour

Because the content runs using the browser-based TWA architecture, authentication behaviour and cookie controls need to be assessed in that context. Do not assume a custom WebView's storage policy maps directly to a TWA. Test sign-in, sign-out, account switching, expired sessions and redirects to external identity providers. External payment or documentation links may open a different browser surface, and the user must understand when leaving the trusted origin.

The backend must enforce every customer permission. Hiding a product on the frontend is insufficient if the API still returns a restricted price or document. Keep access tokens out of URLs and browser error reports wherever possible. Review content security policy, cross-origin requests and third-party scripts. A well-engineered web application can carry these controls into the TWA route, but installing it does not itself make an insecure website secure.

7. Accessibility, browser support and distribution

A supplier catalogue often contains long tables, filters, images and account-specific downloads. Test screen-reader headings, keyboard focus, scalable text and empty search results on the actual supported browsers. A TWA's interface is still the web application; poor mobile HTML will remain poor. A native Compose app needs equivalent accessibility testing with TalkBack and Android UI conventions. Select a route based on the finished journey, not technology labels.

Trusted Web Activity projects can be generated and maintained using tools including Bubblewrap, as documented by Chrome. An Android wrapper still has a signing key, package identity and release lifecycle. The Chrome update guidance advises maintaining the wrapper as well as the website. Distribution is subject to applicable store policies; neither a TWA nor a native app is guaranteed approval. Document who maintains the wrapper, the web origin and the app-store account.

8. Compare deployment and failure handling in a real pilot

Build a representative buyer journey in both a Compose app and the existing responsive PWA launched through a TWA. Use the same test customer accounts, products and server. Include offline browsing, an account switch, an expired login, a changed price and a failed order submission. Verify the installed TWA's domain association using the actual signing certificate. Test on representative Android phones, including a browser version in the declared support range. If the business requires a specialised scanner API, test its actual availability rather than assuming the web can call it.

Observe how a support engineer diagnoses a failure: is it a server defect, a service-worker cache problem, a broken Digital Asset Link or a native build issue? Measure user journey performance and operational overhead in production-like builds. This article does not invent a performance or cost winner. It specifies the evidence needed for one. A company that already maintains an excellent web catalogue may find a verified TWA proportionate; a product needing extensive device functionality may justify native Compose.

Recommendation: Keep the customer-facing business requirement central. Document content classification, permissions, domain ownership, signing credentials, browser support and the update owner. Choose native Android where platform-specific experience and control justify a separately maintained UI. Choose TWA where an existing high-quality PWA provides the real product and verified web ownership suits the installed Android experience. Neither choice removes the need for independent backend validation or customer support.

Official sources: Google Jetpack Compose; Chrome TWA overview; TWA quick start; Digital Asset Links and signing; Wrapper update guidance. All business examples are illustrative.

Native Android versus Trusted Web Activity: B2B catalogue decisions

Test the existing website, identity boundaries and full ordering journey before selecting an installed application architecture.

DecisionKotlin and Jetpack ComposeTrusted Web Activity / PWA
Renderer and ownershipNative UI controlled by the Android applicationBrowser-based application linked to an Android package and verified web origin
Identity and authenticationApp and server authentication with independent per-account authorisationDigital Asset Links plus browser authentication; server still validates accounts
Device integrationsSupported Android APIs and permissionsSupported web/browser capabilities; native integrations need additional design
Updates and offline dataSigned native releases, local storage and server reconciliationWeb updates plus wrapper maintenance, service-worker cache and the same reconciliation rules
Acceptance evidenceSecure catalogue, account switching, offline draft and accessibilitySame user journey plus Digital Asset Links verification, browser fallback and cache isolation

Sources: Android Jetpack Compose and Chrome Trusted Web Activity. A TWA is not the same as an embedded Capacitor WebView.

[{"q":"Is a Trusted Web Activity just a Capacitor WebView?","a":"No. A TWA uses a browser-based Custom Tabs protocol and requires verified web-origin ownership; Capacitor commonly embeds web content in a native WebView container."},{"q":"Why does the signing certificate matter?","a":"Digital Asset Links associate the site with the package and its signing fingerprint. Incorrect fingerprints can cause trust verification to fail."},{"q":"Can a TWA access all private Android APIs?","a":"No. Capabilities depend on supported browser/web APIs and deliberate native integration choices; do not assume every Android SDK can be called from web content."},{"q":"Is an offline product price reliable?","a":"Only if clearly qualified. Cached prices and stock may be stale; the server must validate actual entitlements and order submissions."},{"q":"Does a PWA change require an Android release every time?","a":"Web content and wrapper have different update cycles, but the Android wrapper still requires maintenance and releases when its configuration or dependencies need updating."}]