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

70 questions
0
votes
1 answer

White screen when launch TWA with splash

I am showing a splash screen(TWA splash) when launching TWA, but I see a white screen for 4-5 seconds after the splash screen when launch the app after a delay, as my web code needs to load a lot more data before launch, I know my web code should…
shant
  • 37
  • 4
0
votes
1 answer

Send android app device token to WordPress web from a TWA

I'm building a TWA which opens a WordPress site and shows some data addressed to a few numbers of users. Each user must see specific information according to his/her place in a chain of orders and, thus, receive different notifications. Now, on…
Xavier Caliz
  • 143
  • 2
  • 9
0
votes
1 answer

Inject or load html file into TWA/Custom tabs

I'm currently working on a TWA / Custom tabs application. Seeing as the user needs to load a website, I want to implement an offline page incase the user isn't connected to the internet. When using a webview, I can just load an html file, with…
Jan Meyer
  • 39
  • 1
  • 3
0
votes
1 answer

Launching another activity from a Trusted Web Activity (TWA)

I have problems trying to launch another activity from the TWA via the intent URI. "intent://#Intent;scheme=subscriptionschemetwa;package=com.package.www.twa;end" The package name is unique in reality, of course. I've played around with them, added…
0
votes
0 answers

TWA app can't run independently without running chrome browser firstly

Without running chrome browser firstly , TWA app will block at splash screen . But after running browser firstly , TWA app runs normally. Why?
0
votes
1 answer

How to hide div in in-app browser or android webview

I have asked a question in Hide div in a Custom Tab opened from a Trusted Web Activity Let me explain a little bit more. My twa website is https://www.monsoonmalabar.com/ In the above site there is a link to external site which is…
0
votes
1 answer

Running the TWA from a Chromebook just opens the URL in the browser and not a standalone window

When I download a TWA built like this project (https://github.com/GoogleChromeLabs/svgomg-twa) on Chromebooks it only launches the URL inside the Chrome browser and not as a standalone webview. If I install as a PWA then it runs correctly inside a…
Lawtonj94
  • 309
  • 1
  • 5
  • 16
0
votes
1 answer

Hide Android Soft Navigation in TWA (Bubblewrap)

I've followed this guide (https://developers.google.com/web/android/trusted-web-activity/quick-start) to build a TWA app, but I need to hide the android soft navigation bar (not the URL bar). I found this…
0
votes
1 answer

First run after install from Google Play

I prepare apk and upload to Google Play. When I first run it on phone I receive message: Open in Chrome and button - OK. Can I hide this message on first run? I cannot find solution for that.
0
votes
1 answer

Is there a way to add WAKE_LOCK to TWA?

I am using GoogleChromeLabs/svgomg-twa as a base for a radio streaming website. The problem is that the audio stops streaming after the app is held in the background for around 15 minutes. Is there a way to set the WAKE_LOCK or keepScreenOn…
0
votes
1 answer

Hide div in a Custom Tab opened from a Trusted Web Activity

I have an Android app which uses Trusted Web Activity with an external link. When clicking link it opens in an in-app browser (Custom Tabs). I want hide a div in that Custom Tabs page, but I want to show that div when the site opens in Chrome. Is it…
0
votes
1 answer

How to create animated splash screen in android TWA( trusted web activity )

I am trying to create animated splash screen using TWA in android studio. I can attach only PNG, JPEG file but not able to attach GIF file. And not able to customize splash screen.
0
votes
1 answer

Is there a way to add AdMob to a Trusted Web Activity?

I am currently using GoogleChromeLabs/svgomg-twa as a base for my project. Is there a way to add AdMob interstitials or banner ads within the project?
0
votes
1 answer

Is it possible to force Chrome to refresh app notification settings when using Notification delegation

In a previous answer regarding Notification Delegation between Chrome and an Android TWA app it was said that: "If the TWA has notifications disabled in Android Settings, we disable them in Chrome instead. There's a little bit of latency with how…
Tobias Harle
  • 149
  • 5
0
votes
1 answer

How do I remove the white line in Chrome Trusted Web Activity?

I'm using the SVGOMG-TWA Trusted Web Activity example from the Google Labs example (https://github.com/GoogleChromeLabs/svgomg-twa). How do I remove this white bar above the navigation bar? In this example, in styles.xml is configured only for the…