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

How to include multiple PWA inside an apk?

I am trying to develop a app which will be a one stop destination for various ecommerce apps and social networking apps. Ofcourse all that apps are PWA, however these PWA has to be integrated inside the primary apk with designated icons for each…
0
votes
1 answer

Append Firebase Token to start URL -Trusted Web Activity

I would like to pass FCM token in the start url. My code doesnt work everytime, i think needs a delay but i cant handle it. Below code doesnt work every time because sometimes the TWA launches before the firebase connection has been made: public…
0
votes
1 answer

Calling android shell app native function from trusted web activity(PWA)

I am trying to call android shell app native function from a trusted web activity in a PWA. I know that we can do this for webviews using @JavascriptInterface notation, but couldn't find any information if same can be done for trusted web activity…
0
votes
0 answers

Passing Information to a Trusted Web Activity using Query Parameters

I have created a Trusted Web Activity. In order to hide some html content i have modified "startUrl": "/?utm_source=trusted-web-activity". I check for this query param and i save it in sessionStorage ( i dont use localStorage because it is shared…
7even
  • 23
  • 5
0
votes
1 answer

How to keep the screen awake in Trusted Web Activity?

I need help regarding Trusted Web Activity. My app works fine, but I need to add a function that keeps the screen awake without user interaction. I am converting my website into a mobile application using Trusted Web Activity through Android Studio,…
Codex999
  • 11
  • 1
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

Verify Trusted Web Activity to hide address bar in the App

I'm trying to publish my PWA Google Play but I can't get it hide address bar in Chrome when the app is open. It seems that a file needs to be added to the server and I do it https://crux.commonms.com/ppo/.well-known/assetlinks.json with the…
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

Trusted Web Activity: Navigating back to the Main Activity reveals the website URL during the period of transition

The website I am redirecting to takes a few seconds to load due to runtime activities. During the load, if I try navigating back to the main activity (on pressing the back button on my android phone), the URL of the website is revealed (for a brief…
0
votes
0 answers

Generating a signed APK builds a broken APK from a working project

---Edit--- Forgot to include original manifest. Here it is:
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…