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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

ERROR Command failed: gradlew.bat assembleRelease --stacktrace

FAILURE: Build failed with an exception. What went wrong: unable to create native thread: possibly out of memory or process/resource limits reached bubblewrap build for Building the Android App Try: ...
Arun Jojo's user avatar
0 votes
0 answers
91 views

Adding AdMob to code generated from PWA Builder

I have an PWA application which I export to TWA (Trusted Web Activity) and want to put it into Play Store, so I use PWA Builder www.pwabuilder.com (It uses Bubblewrap under the hood) and there is a ...
PedritoG's user avatar
0 votes
1 answer
21 views

TWA shows address bar but assetlink is correct

I have a bubblewrap generated app-release-bundle.apk and my assetslinks are correct. My assetlinks are correct because I ran keytool -printcert -jarfile app-release-signed.apk and I copied the sha256 ...
Quinten C's user avatar
  • 700
0 votes
0 answers
10 views

Bubblewrap build command fails with a java class not found exception

I am on Windows 11 operating system, trying to convert my react website into a pwa, i have initialised bubblewrap by the init command and all the naming is done, but when i proceed to bubblewrap build ...
Supritha RaoM's user avatar
0 votes
0 answers
46 views

Are google play billing subscription base plans supported in bubblewrap twa?

I am working on a new twa that is close to launching but I am currently a bit lost on how to get subscription base plans to work in a bubble wrap twa. It seems that base plans are not supported in a ...
Quinten C's user avatar
  • 700
0 votes
0 answers
18 views

TWA: create twa for specific routes

I'd like to create a Trusted Web Application for my website, but I'm interested in doing this for specific routes. For example, I have the following routes: Login Signup Profile -Dashboard -Wallet ...
Reza Zare's user avatar
  • 103
0 votes
1 answer
21 views

URL header appears in my TWA when Javascript Alert or Confirm box appears

Issue: Whenever a JavaScript confirm or alert box is being used in the code, the URL header appears and does not goes until the app is again opened after opening any other app on the mobile.(i.e. Sent ...
Vishwajeet Singh Kushwah's user avatar
0 votes
0 answers
31 views

How to set Trusted Web Activities content "edge-to-edge" (behind the status bar)

How to set Trusted Web Activity content "edge-to-edge" (behind the status bar)? What is required and what have I tried: https://developer.android.com/develop/ui/views/layout/edge-to-edge It ...
morgenshtern's user avatar
0 votes
0 answers
54 views

Bubblewrap don't building .aab with supports for Play Billing 5

After upload .aab to Play Console, received warning which my app is using play billing 4.0.0 and which need update to version 5.0.0 or above. I try introduce the follow code in file "build.grade&...
Gustavo Lins's user avatar
1 vote
1 answer
124 views

Remove browser URL bar in TWA

I created a PWA and everything works ok, but when I converted it to a TWA and posted it on Google Play, a browser URL bar appeared on the app. How can I remove it? The manifest is set to standalone ...
Fakt309's user avatar
  • 821
0 votes
0 answers
30 views

I can't hide url bar from twa

this is app link in google play: https://play.google.com/store/apps/details?id=com.thetruthapplication.www.twa and, this is assetlinks url: https://www.thetruthapplication.com/.well-known/assetlinks....
Mhmd Al-Rshedy's user avatar
0 votes
1 answer
77 views

PWA to TWA Issue - Android launcherName displays as 'Chrome' instead of the expected name, but it shows fine in other views

What happened? I have generated a PWA application with source code on the website. My PWA configuration is passed on the website; however, the TWA generated doesn't show the right name. The ...
Mathew Agustin Bella's user avatar
0 votes
0 answers
11 views

How can I test whether the URL bar will not be displayed in my app without deploying to the Play Store?

I made a release apk of my app. Installed it via the adb tool on my smartphone. I am using CustomTab to launch an url. Now I am testing it on my phone, but I still see the urlbar. I did everything ...
user1859961's user avatar
0 votes
0 answers
93 views

How to show a modal in React Native on an activity created in java

I have an application in React Native where I have a Modal at <App> level. This application has a native fragment that I call from React Native. This fragment has something special, as it mounts ...
danielm2402's user avatar
1 vote
1 answer
115 views

Should we keep our SHA-256 public?

When generating a Digital Asset Link we are supposed to asset links file contaning SHA-256 of our android app and post it to https://www.your-host.com/.well-known/assetlinks.json as stated here. So is ...
Vikalp Vashisth's user avatar
1 vote
1 answer
167 views

Consistent Google Play Billing error in TWA: clientAppUnavailable (Android 13, API 33 and above)

We recently released our TWA (our app) to customers and on day 1 are experiencing a very consistent issue with Google Play Billing. When we try to call getDetails() on a SKU as well as when we call ...
monstermac77's user avatar
0 votes
1 answer
205 views

What is the advantage of Bubblewrap VS Android native webview

What would be a practical advantage of using bubblewrap vs Android webview. What is the major difference between both.
VigneshK's user avatar
  • 763
1 vote
1 answer
182 views

Bubblewrap Cli Error unable to get local issuer certificate

I couldn't run the command bubblewrap init --manifest="https://mydomain/manifest.json" I got error cli ERROR unable to get local issuer certificate I tried to set false "strict-ssl&...
VigneshK's user avatar
  • 763
0 votes
0 answers
59 views

TWA custom activity/ animation on initial load (before launch url)

I have created TWA using bubblewrap, and its working fine. But I need to add animation to splash screen. I tried following method: Using gif (not supported) Creating custom activity along with ...
shikhabluelogic's user avatar
0 votes
1 answer
174 views

pwa detect android volume change buttons event

I have a pwa built with react and have gotten twa .apk from it using the pwabuilder.com, having a mute video playing on my screen, I want to unmute the video when the user presses the volume change ...
moeinghasemi's user avatar
0 votes
0 answers
158 views

Android trusted-web-activity (TWA) not hiding url in flutter(Digital asset link verification failing), possible conflict with app link setup?

I have my app set up for use with app links and that part works as expected, I use a link to launch the app and also pass some parameters to my starting page. However I have been trying to add a TWA ...
farfly's user avatar
  • 126
0 votes
0 answers
54 views

How to download a file to the scoped storage of Android App running a Trusted Web Activity that displays my Progressive Web App?

I am working on an Android app that displays a Progressive Web App (PWA) through a Trusted Web Activity (TWA). The app uses scoped storage for security purposes. I need to provide a way for the user ...
Kaustabh Kakoty's user avatar
0 votes
0 answers
55 views

Converting listed flutter app to PWA app, google login throwing 403

I have a natively flutter build app in the playstore, https://play.google.com/store/apps/details?id=com.screener.mobile&pli=1 And I want to convert this into PWA, I used the PWA builder and the ...
Kavi Harjani's user avatar
0 votes
1 answer
31 views

Keep the screen on in Trusted Web Activity

I want to keep screen on while show trusted tabs. I was override the WebViewFallbackActivity class and inject this code but it's not working: PowerManager powerManager = (PowerManager) ...
Alireza's user avatar
  • 209
0 votes
0 answers
124 views

Android getInstalledRelatedApps() API not detecting the installed app from subdomains

getInstalledRelatedApps only returning value for the first element of JSON ARRAY mentioned in asset_statements for the rest of the elements in JSON ARRAY it is returning empty. Hosted assetLinks.json ...
Hari Pochiraju's user avatar
0 votes
0 answers
78 views

Trusted Web Activity - Address bar appears for a second

We implemented the Trusted Web Activity in our app, and configured the Digital Assets just fine. Except we noticed that for the first launch a white screen with address bar flashes for a second or two ...
Sara Talaat's user avatar
0 votes
1 answer
92 views

How to hide Trusted Web Activity error toasts

When migrating from Custom Tabs to Trusted Web Activity, I've noticed that whenever error happens -> whether the Digital Assets Link is not verified or Internet connection is lost, a toast with the ...
Sara Talaat's user avatar
1 vote
1 answer
122 views

How display Firebase In-App Messaging on TWA?

I tried to display In-App Messaging but it didn't show up with TWA. In-App Messaging works without any problems with normal Activity. I use https://github.com/GoogleChrome/android-browser-helper/tree/...
tesst's user avatar
  • 11
0 votes
0 answers
199 views

Can Trusted Web Activitity apps work on Huawei phones?

I am working on publishing a progressive web app (PWA) in Google Play, as a Trusted Web Activity (TWA). I packaged my app using bubblewrap, as instructed in the official docs: https://developer.chrome....
Lukas Helebrandt's user avatar
0 votes
1 answer
190 views

Trusted Web Activity : TwaLauncher onDestroy() does not work

I want to close the Trusted web activity tab programmatically. I am trying the onDestroy method from twaLauncher but it does not work. twaLauncher = new TwaLauncher(activity); ...
Dhanaji Yadav's user avatar
1 vote
0 answers
211 views

TWA not working, still showing Custom tab URL bar

Trying to hide the URL bar in debug mode but no hope:- Followed: Old Stackoverflow Guide (Answer didn't work for the OP also): Is it possible to hide URL bar on Chrome Custom Tabs Followed (Not ...
AS....'s user avatar
  • 11
0 votes
1 answer
168 views

Bubblewrap CLI throws "ERROR spawn jarsigner ENOENT"

I am trying to make an initial build of a PWA (Progressive Web App) that is vanilla JS/HTML/CSS using using TWA (Trusted Web Activity) and Bubblewrap, but get the message cli ERROR spawn jarsigner ...
Edward Moffett's user avatar
1 vote
0 answers
133 views

Remove Address Bar of Webpage Accessed Through TWA

I'm currently working on a TWA and I need to redirect the user to another web app I created. The problem is when the user redirects to the other web app, the page now has a address bar. My goal is ...
ProjectCBL's user avatar
1 vote
1 answer
404 views

Timeout issue for http connector and web activity on adf

Timeout issue for http connector and web activity Web activity and http connector on adf We have tried loading data through Copy Activity using REST API with Json data some columns are getting skipped ...
Hrishabh's user avatar
0 votes
1 answer
204 views

Get CustomTabsSession from Bubblewrap generated TWA

I create a TWA using Bubblewrap and the app works fine. Now I need to send a WebMessage and this can be done with CustomTabs, according to the documentation, but I don't know how to get the active ...
Actticus's user avatar
1 vote
0 answers
63 views

TWA - Struggling w/ Offline Screen implementation

This is my first Android project using Java and XML. (Which has been a process) I'm having problems extending my LauncherActivity to display an Offline-Screen I have been following Offline-First ...
Toushirou's user avatar
0 votes
1 answer
486 views

Refused to load the script because it violates the following Content-Security-Policy

I didn't used google tag manager url in my code but it still shows the ERROR and HERE is the Error. ERROR Refused to load the script 'https://consent.trustarc.com/v2/notice/jznryc' because it violates ...
Balaji Reddy's user avatar
1 vote
0 answers
116 views

Keep screen on (prevent screen lock) in Android TWA app

I am a web developer and have a web app (PWA) bundled into an Android app with Bubblewrap and I would like to prevent screen lock while the app is open. I believe there is no solution involving ...
Thomas's user avatar
  • 21
1 vote
2 answers
320 views

Address bar still visible even with digital asset link

We have a PWA hosted at www.thredup.com that is published as a TWA in the Play Store for closed testing. The digital asset link is OK but the address bar is still visible in the TWA. Is there ...
Quentin Hu's user avatar
4 votes
1 answer
1k views

What is the difference between App Signing Key and Upload Signing key for Google Play Android Apps

I am using a simple TWA (a Website with PWA supported packaged into a native Android app) with bubblewrap. In order to get this TWA working properly it must have an assetlinks.json file including the ...
NicoHood's user avatar
  • 827
0 votes
1 answer
170 views

Why does the Digital Goods API's getService method reject with clientAppUnavailable in my TWA?

We have a TWA/PWA in the Play store. We want to start selling Play subscriptions through our app. We followed the Chrome Developer guides to implementing the necessary steps in the Android project and ...
Robin Howells's user avatar
0 votes
0 answers
197 views

Modify thumbprint value in <system.identityModel> in web.config programmatically in C#

I have a app where I need to change the thumbprint without open the web.config file. <system.identityModel> <identityConfiguration> <securityTokenHandlers> <...
Zoblod-1's user avatar
1 vote
1 answer
162 views

How can I change navigationbar color when using TWA or custom tabs?

I am using TWA . It is all Ok .But how can I change navigation bar color? I tried to change the app theme but no effect.
Ameer Elbaz's user avatar
0 votes
1 answer
473 views

How to detect a Trusted Web Activity (TWA) in Android Apps

I'm working on a script that analyzes the AndroidManifest.xml of decompiled apps and detects if they contain a TWA or not. Is there a better approach for detecting a TWA than analyzing the ...
ankur1812's user avatar
0 votes
1 answer
464 views

bubblewrap build fails with out of memory exception

I was trying to build with bubblewrap and I couldn't find an answer anywhere. it says that outofmemory error cli ERROR Command failed: gradlew.bat bundleRelease --stacktrace FAILURE: Build failed ...
Yared Terefe's user avatar
1 vote
0 answers
114 views

Start another activity with intent-filter inside TWA app created by Bubblewrap

I have an android app built with Bubblewrap and want to open an activity when custom link clicked href="my-app://open-activity" My activity is declared like this: <activity ...
Mohammad Zare's user avatar
1 vote
1 answer
722 views

Google Billing payment request inside TWA returning error Unable to download payment manifest "https://play.google.com/billing" on older Androids

I use Bubblewrap to turn my PWA into a TWA app on Android and have Google Billing properly enabled. Everything works fine on my Android 11 device, but when I open my app on devices that run Android 6, ...
Thomas's user avatar
  • 21
1 vote
0 answers
398 views

TWA - Notification Delegation Service not working

We are using trusted web activity for our app and we are getting chrome notifications instead it should come from trusted web activity delegation service. If there is something wrong in following code ...
Jimmy Anderson's user avatar
0 votes
1 answer
148 views

service.acknowledge is undefined using Digital Goods API with Google Play in TWA

I have an web app in development to which I am trying to add Google Play Billing on Android and Chrome OS. My implementation is basically the same as in Google's own documentation, however it fails ...
Zachary Yaro's user avatar
2 votes
0 answers
68 views

"scope" attribute ignored in TWA

I have a "scoped" PWA application with a manifest.json file like: { ... "start_url": "/my-pwa/", "scope": "/my-pwa/", "display":"...
marcdp's user avatar
  • 21

1
2 3 4 5