Questions tagged [twa]

A Trusted Web Activity is a way for Android applications to run a full-screen Chrome browser tab to render trusted web content.

What's different about a TWA?

A Trusted Web Activity runs a Chrome browser full screen in an Android app, meaning there is no browser UI visible in the app, including the URL bar. This is a powerful capability so we need to verify that the app and the site belong to the same developer - hence ‘Trusted’. To verify that the app and the site opened in the TWA belong to the same developer, a TWA uses Digital Asset Links to certify ownership. - Introducing a Trusted Web Activity for Android - Chromium Blog

Availability

Trusted Web Activities are available in Chrome on Android, version 72 and above. - Using Trusted Web Activities - Google Developers Updates

Useful links

75 questions
9
votes
1 answer

How to force Google to refetch .well-known/assetlinks.json in order to fix my Android App Link implementation

I have successfully implemented Android App links with My Local APK and it works. When I published the same APK in Google Play Store I figured out that I need to change SHA 256 fingerprint in my /.well-known/assetlinks.json with the fingerprint…
6
votes
1 answer

How to distinguish between PWA and TWA in code?

How can one distinguish between an Android Trusted Web Activity (PWA wrapped in a WebView) and a Progressive Web App that has been added to the home screen (fullscreen mode)? Is it possible in JS or CSS or even HTML5? Edit: People are asking me what…
Chris
  • 1,264
  • 3
  • 16
  • 23
5
votes
4 answers

Google bans Huawei. What should I do with google dependencies?

I have a few apps on Play Market and I'd like to publish them on Huawei AppGallery. I care about next dependencies: com.github.GoogleChrome.custom-tabs-client:customtabs play-services-ads firebase-core Am I right that no one from this list will…
4
votes
1 answer

Is it possible to integrate a TWA into a React Native project?

I am wondering if it is possible to integrate TWA (Trusted Web Activities) into an existing React Native project. This way I could have a section in my app where costumers can use my PWA inside my app. As fallback for iOS I would use something like…
thiloilg
  • 765
  • 8
  • 19
4
votes
1 answer

How to implement in-app purchase to disable ads in TWA

I would like to add advertisements (Interstitial from admob) to my trusted-web-activity and the possibility to disable ads by buying an in-app 'Remove ads' product. The ad-screen should for example be opened each time a user wants to add a new…
3
votes
1 answer

CapacitorJS for PWA/TWA

I'm planning to make a Webapplication for Web with should also work as PWA and TWA (on iOS and Android). Now i'm evaluating if i can use some features like camera, geolocation, accelerometer, notifications and some more. I tryed to make a demo…
2
votes
1 answer

Is it possible to have multiple main domains (hostName) in a TWA?

I have a website available in several languages, each linked to a domain (.com, .co.uk, .de etc), and I’m doing a TWA with Bubblewrap for it. I have set the .com as the main hostname of the TWA, and I have authorized the other domains as indicated…
krisdr
  • 23
  • 3
2
votes
1 answer

How can I extend TWA application with In-App review?

i create my TWA app based on this repo: https://github.com/GoogleChromeLabs/svgomg-twa I would like to extend the code with In-App Review https://developer.android.com/guide/playcore/in-app-review Is it possible to do this? I am front-end developer.…
Bajdzis
  • 41
  • 5
2
votes
3 answers

BubbleWrap CLI shows Error The given android-sdk isn't correct when bubblewrap build

I want to build TWA using BubbleWrap CLI When I try to build my app using bubblewrap build | |) /_,--.,--| |-.| |-.| |,---.,--. ,--,--.--.,--,--.,---. | .-. | || | .-. | .-. | | .-. | |.'.| | .--' ,-. | .-. | | '--' ' '' | `-' |…
2
votes
1 answer

How to make Android app using TWA full screen (immersive)

We make an Android app that currenlty uses WebView to show web content full screen. This works but the performance depends strongly on the version of the WebVeiw component and that is not always updated when the Chrome browser is updated (there is a…
Bob Groeneveld
  • 823
  • 1
  • 8
  • 19
2
votes
1 answer

TWA and external links

I would like to ask if there is any way to make TWA(Trusted Web Authority) app to open external links, those with different host than defined in AndroidManifest.xml, in new browser window instead of apps webview? My AndroidManiest.xml look like…
Igor Mizak
  • 1,039
  • 1
  • 10
  • 19
2
votes
1 answer

TWA android border top navigation

how I can to remove this line? I use this project https://github.com/GoogleChromeLabs/svgomg-twa
Valy
  • 43
  • 7
2
votes
0 answers

Can I use adsense in TWA App or do I need to use admob

I have a twa android app. Can I use the same adsense in the website or do I need to change it to admob?
2
votes
2 answers

Open TWA app instead of the web app when user clicks the push notification

Current behaviour: When the user clicks the push notification the web app open, even if the TWA app is installed in the android phone. Expected behaviour: When the user clicks the push notification I want to open the TWA (Trusted web activity)…
2
votes
1 answer

How to implement Play Store Purchases from a Trusted Web Activity?

I'm considering developing an Android App with the bulk of the application being written as a PWA and made available inside the Android app as a Trusted Web Activity (TWA). What I'm not able to find on the Internet (and perhaps I don't know the…
Justin Tamblyn
  • 652
  • 8
  • 18
1
2 3 4 5