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.

200 questions
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

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…
0
votes
0 answers

How to add an URI scheme to Android TWAs

Is there a way to add an URI scheme for Android TWAs? I've added my own scheme in our TWA, say for example . However, when I try to access the URI using blah:// when the app had not been launched, it fails to launch the…
Jialu
  • 114
  • 10
0
votes
1 answer

TWA - Prevent external Chrome opening when redirect

I developed a Trusted Web Activity based on PWABuilder and is already deployed on Play Store but when I'm already logged in the right behavior is redirecting to dashboard (I use window.location.assign('/dashboard')) but the TWA try to launch the…
Cami Rodriguez
  • 1,057
  • 4
  • 14
  • 30
0
votes
1 answer

Main activity inside trusted web activity

I started to use Trusted Web Activiy and everything is fine. Now I want to install Push Notification library and my push ntification service provider needs to add a block of code in MAIN ACTIVITY. From other hand, I need some check before user start…
Kiyarash
  • 2,437
  • 7
  • 32
  • 61
0
votes
1 answer

Digital asset links verification with SSL client certificates

I have a web app, which is accessible over https, but requires ssl client cert to access any data on the app domain. I want to convert it to a TWA, but I have a problem with the address bar, which is not hiding on first app launch. The thing is…
0
votes
1 answer

Can't remove app URL bar in TWA Progressive Web App for domains besides start page

I have created a TWA Progressive Web App directly by the guide on this google page: https://developers.google.com/web/updates/2019/02/using-twa And have added both the asset statements in the app and the assetlinks.json on my two domains exactly as…
0
votes
3 answers

URL Bar is not Hiding

We are developing PWA application to submit it to Play Store. We used TWA, followed all concepts but somehow we cant manage to hide the URL BAR. Digital asset links are configured and tested. We have connected website with TWA, we have successfully…
0
votes
0 answers

How to programmatically check if Chrome app has permission to access the network?

Some ROM's like Xiaomi's MIUI allows the user to disable network access for a given app: Font: pcmobitech I am working in a TWA application and in ROM's like the Xiaomi, is possible to block Chrome's network access. Is there a way to…
raphaelbs
  • 440
  • 4
  • 13
0
votes
0 answers

URL bar still showing after setting up TWA and deployed to store

I set up a PWA app with TWA following the google developer documentation about it tried manifest.json display property to fullscreen all stackoverflow answers My assetlinks.json file [{ "relation":…
0
votes
1 answer

TWA has assetLinks but is still opening with address bar

Our TWA is signed with a SHA256 fingerprint and published to app store. The same key is used in digital asset link, and the validation TEST succeeds. However, the app still opens up with the address bar. I verified that we are running a release…
0
votes
1 answer

Saving data in internal storage from Trusted Web Activity when user click on button in a web page

I have a PWA and it stores data in the index DB of web browser. Whenever user clears the browser history , the data stored in the browser also get cleared. So i want to store the data in a text file in android internal storage from the browser. So i…
0
votes
1 answer

Is There a Way To Put a PWA/TWA App in a Sub-Domain

I am trying to add Progressive Web Apps to my server. I would prefer not to create a new web site for each app. My preference is to add each app to a sub-domain off of a website like this: www.example.com/app1 The problem is that when I run the…
user525504
  • 163
  • 1
  • 11
1 2 3
13
14