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

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" also tried to configure npm config set cafile…
VigneshK
  • 753
  • 1
  • 10
  • 28
0
votes
0 answers

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 Launching activity and adding animation (not working…
0
votes
1 answer

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 buttons of the android mobile device, is there a…
0
votes
0 answers

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 to open a web page without url bar and I keep…
farfly
  • 126
  • 6
0
votes
0 answers

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 to download a file on clicking a button from the…
0
votes
0 answers

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 app integrity is signed by google When I generate the…
0
votes
1 answer

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) getSystemService(POWER_SERVICE); PowerManager.WakeLock wakeLock…
Alireza
  • 209
  • 2
  • 3
  • 10
0
votes
0 answers

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 on each and every subdomains. Included…
0
votes
0 answers

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 and then disappears, after which the website…
0
votes
1 answer

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 error message pops up. Is there any way I can stop…
0
votes
0 answers

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.com/docs/android/trusted-web-activity/ All went…
0
votes
1 answer

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); twaLauncher.launch( new…
Dhanaji Yadav
  • 1,202
  • 1
  • 14
  • 22
0
votes
1 answer

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 ENOENT The $ bubblewrap init…
0
votes
1 answer

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 CustomTabsSession object from any of these classes…
0
votes
0 answers

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 Trusted Web Activities When this didn't work I…