Questions tagged [trusted-web-activity]

Trusted Web Activities are a new way to integrate your web-app content such as your PWA with your Android app using a protocol based on Custom Tabs.

130 questions
2
votes
0 answers

Firebase authentication works for web app but not as an Android trusted web application (TWA)

What could be the issue that a progressive web app (PWA) with Firebase Google-Sign authentication works perfectly fine on the web but not if published as a trusted web application (TWA)? The only error Android Studio shows while…
2
votes
2 answers

TWA URL bar not hiding

we are tring to push in through our PWA to the Android Play store using TWA by using the codes from this github repository https://github.com/GoogleChromeLabs/svgomg-twa. By following the instructions to debug the digital asset links, I get the…
Jialu
  • 114
  • 10
2
votes
1 answer

How to make a gradient splash screen using TWA meta-tags?

Following the instructions at Google Developers site, I sucessfuly created my splash screen. Using the meta-tag:
2
votes
1 answer

How to remove the bottom navigation bar in a TWA?

I have build a TWA as described at https://developers.google.com/web/updates/2019/02/using-twa I want to remove the bottom navigation bar. I have read that it can only be done programmatically with IMMERSIVE mode :…
JeffProd
  • 2,464
  • 1
  • 14
  • 30
1
vote
1 answer

Two way bridge between native android and progressive web apps in trusted web application

As per current understanding from TWA documentation, we can pass message between native android and web using URL intents and query parameters/custom headers. I want to pass information from web to native and return response based on the action to…
1
vote
1 answer

Is 80 a strict Lighthouse scores for publishing TWA apps?

While learning about TWAs, most of the google tutorials have given example of oyorooms.com for its OyoLite app in Playstore, Myntra.com ( Myntra lite ), NavbharathTimes However, when I measured these sites on https://web.dev/measure/ or…
prem911
  • 229
  • 3
  • 11
1
vote
0 answers

FCM push notifications on mutliple TWA on same domain

I am working on a use case where I am trying to create multiple TWAs which run on same domain but with different routes. Like this TWA-1: www.example.com/pwa1 TWA-2: www.example.com/pwa2 TWA-3: www.example.com/pwa3 I have gone through this…
1
vote
1 answer

PWA inside a APK: why is it isolated from Android APIs?

When you put a Progressive Web App inside an APK, to sell on Goolge Play, for example by the use of Bubblewrap and Trusted Web Activity, the PWA can not interact with the Android APIs. Correct? If I have misunderstood this, please correct me and…
1
vote
0 answers

How to update the URL of an Android TWA?

So Our PWA already handles push notifications that tell it to go to a new URL. I got the TWA up and running and the push notifications are working except they don't do anything, they just open the app. I can get the data in the notification…
1
vote
0 answers

How to Disable Page Caching in Trusted Web Activity App?

I created a Trusted Web Activity App for one of my friends. Link: https://play.google.com/store/apps/details?id=com.grodudes.app It's working absolutely fine but I am facing a small problem it is showing the cached pages even when the device is…
1
vote
1 answer

Trusted Web Activity - Screen Orientation

How do I set the default orientation to landscape when opening a url (TWA) from my application which is in portrait mode? (The TWA is launched from the second activity of the application)
1
vote
2 answers

How do I disable pull to refresh behavior in Trusted Web Activity (TWA)?

I have my PWA app which has this code in main.css file. @media all and (display-mode: fullscreen) { overscroll-behavior: none; } And when added to Homescreen and launched in fullscreen mode (set in manifest.json), pull-to-refresh is…
1
vote
1 answer

Using Trusted Web Activity to link multiple websites with native application

I've managed to link my native application to a website and launch the same on a button click. As the website is trusted, the URL bar is not visible. In the launched website there is a button which then further redirects to another website. I've…
1
vote
1 answer

Communication between Android native and Trusted Web Activity(TWA)

I wrapped a Vue js web app using android to make it TWA(Trusted Web App). Now I want to send firebase_token and other data from the Android part to the webapp in TWA. As all the Apis are on a web app and I don't want to call any API in Android. In…
Kapil Sahu
  • 366
  • 3
  • 7
1
vote
1 answer

Is it possible to use Adsense in a PWA/Trusted Web Activity app?

A general question about integrating Adsense into a PWA/Trusted Web Activity app - Is it currently possible to use? If so, where to get started? Copied from: https://github.com/GoogleChromeLabs/svgomg-twa/issues/105
andreban
  • 3,575
  • 1
  • 16
  • 40
1 2
3
8 9