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.
193
questions
1
vote
0
answers
5
views
Does TWA work with Firebase In-App Messaging?
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.
0
votes
0
answers
31
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....
0
votes
0
answers
13
views
Close TWA / Android Browser Helper when sign in completed
I have implemented Android browser helper that gets used to show a login page. Once the login completed it redirects into a scheme known to the app. But the TWA / Chrome Tab stays open behind it. How ...
0
votes
1
answer
25
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);
...
1
vote
0
answers
69
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 ...
0
votes
1
answer
28
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 ...
1
vote
0
answers
76
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 ...
1
vote
1
answer
62
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 ...
0
votes
1
answer
72
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 ...
0
votes
0
answers
15
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 ...
0
votes
1
answer
64
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 ...
0
votes
0
answers
16
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 ...
1
vote
2
answers
77
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 ...
0
votes
1
answer
156
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 ...
0
votes
1
answer
16
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 ...
0
votes
0
answers
76
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>
<...
1
vote
1
answer
63
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.
0
votes
0
answers
54
views
Mute microphone event sound in twa
i,m using (trust web activity) to loading a web page
when user clicked on the microphone icon to recording an bib voice started to playing
how i can mute this sound
there is the video of bib sound:
...
0
votes
0
answers
39
views
Opening pushnotification restarts android TWA
When i send a pushnotification to my android TWA the app restarts completely, all i want to do is reopen the application. Since the notification is not handled by the TWA but through the browser is ...
0
votes
1
answer
193
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 ...
0
votes
1
answer
101
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 ...
0
votes
0
answers
23
views
FCM push notifications when sent few one after another don't display all at user
Situation is following. When new order is created on system, I have service which then send FCM notifications to list of users/tokens related to this order this list can be from 10 up to 400 devices. ...
0
votes
0
answers
68
views
How do I focus on my Custom Tab screen running in the background?
I'm creating an application in Flutter that will have web flows that we decided to use Trusted Web Activity for performance reasons.
We have a Home screen (Flutter), which starts the web flow in a ...
0
votes
0
answers
120
views
TWA don't start
I've made a PWA that work well. On my phone with chrome a can install it and it work well.
I've made a TWA but when I install it from the play store and launch it. The app don't launch, nothing ...
1
vote
0
answers
61
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
...
1
vote
0
answers
593
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, ...
0
votes
0
answers
82
views
Android PWA bubblewrap, bitlabs library problem
After implementing bitlabs SDK (https://developer.bitlabs.ai/docs/android-sdk-v2). When I click the button (app://survey), im getting error:
java.lang.RuntimeException: Unable to start activity ...
0
votes
0
answers
88
views
TWA - Location and notification doesn't work if host is not included in host is not added in intent filter
TWA android browser helper delegation service don't work when host is not added in intent filters. For Location I get the error as your location is blocked and in case of notifications, they come ...
1
vote
0
answers
172
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 ...
0
votes
0
answers
31
views
ERROR Command failed: ./gradlew assembleRelease --stacktrace
I'm trying to build an apk with bubblewrap, the command is
bubblewrap build
I'm using codeanywhere to run the test, but I get the following error.
Error:
0
votes
1
answer
76
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 ...
0
votes
0
answers
164
views
is there any to load PWA inside react-native for IOS .....?
like for android there is trusted web activity to achieve the functionality of Pwa...
but i want to integrate in the IOS also..
so any way to load react Pwa inside react-native wrapper
I've use this ...
1
vote
0
answers
44
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":"...
-2
votes
1
answer
387
views
How I can publish Next js app on google playstore with TWA
I have created an app successfully and applied PWA.App-based on MERN Stack + Next js.
How to convert PWA To TWA? I want to show this app on the google play store.
0
votes
1
answer
581
views
TWA app generated using the bubblewrap opens in browser instead of as an app
Creating a PWA to publish on google play store. The apk generated using the bubblewrap cli is installing fine, but opens like a regular website in google app rather than a standalone app. It has a url ...
2
votes
0
answers
143
views
Allow external, not-owned origins to be trusted in Android TWA
I am developing an app that uses a TWA activity to show the login screen (and perform login using OAuth2).
Currently, the login is entirely handled inside our own server, so the TWA hides the ...
0
votes
0
answers
76
views
Can't hide adress bar for PWA APK, but it works with only PWA
I made a PWA in a subdirectory of my site. When I go to the website and add to homescreen it fills the whole screen. This is what I want. But when I make an APK with PWA Builder and download it on my ...
1
vote
0
answers
378
views
How to install a PWA with Android WebView/TWA
Scenario
I have an existing native android app in which I want to add some new features. These features have already been implemented as a PWA because some users needed to use them directly from the ...
4
votes
1
answer
171
views
How to build multi-origin Trusted Web Activity with a wildcard for subdomains
Given a web application with multiple sub-domains. The user is able to navigate from one subdomain to another. The number of subdomains is not fixed (a new subdomain can be created during the user ...
1
vote
0
answers
241
views
bubblewrap init throws -bash: bubblewrap: command not found
I am building a PWA and following this tutorial to create a TWA. npm i -g @bubblewrap/cli runs fine. When I run
bubblewrap init --manifest=http://localhost:8000/static/manifest.webmanifest
or
...
0
votes
1
answer
51
views
getDigitalGoodsService("https://play.google.com/billing") always returning “DOMException: unsupported context” error
I have a working TWA on Play Store (website reference) that I’m trying to update for enabling it to handle google play digital goods payments. I’ve already implemented an in-app purchase using stripe....
1
vote
0
answers
251
views
TWA url bar is not hiding in the android version upper to 10
I have a TWA app in the google store. but when I install the app and run it, I can see the URL bar. this issue is on the android version upper to 10. how can I fix it?
Note1: Google console's SHA-256 ...
0
votes
0
answers
479
views
Use deep link in TWA for IOS
I used TWA to build an ios app. I want to send push notifications and add a link so when the user taps on the notification it goes to that link which is a subdomain of my PWA app. This is my ...
0
votes
0
answers
179
views
PWA on android shrinks viewport then gets stuck after keyboard is closed
I Have a PWA (also TWA) that is used as full screen to get the most space out of the device (used in landscape), I can't 100% reproduce the bug, but sometimes when i press the inputs and keyboard ...
0
votes
1
answer
83
views
Is there a way to stop saving any data or history in TWA?
I'm implementing Trusted Web Activities in my Android project,
and as I understand it keeps data synchronised with Chrome.
Is there a way to make data used inside the app private and not saved -like ...
0
votes
1
answer
69
views
Trusted Web Activity [TWA] - Can it read AccountManager accounts on Android?
Problem: Attempting to read accounts created via AccountManager API in Android via a TWA LauncerActivity.
I'm aware that some native functionality isn't possible in Android, and if I am attempting ...
1
vote
0
answers
211
views
App good with one new intent but when I tap on same link again. Get error: No Activity found to handle Intent { act=android.intent.action.VIEW
I use Intent to send message from website to Progressive Web App. Just to show admob ads in native code. Best solution what I found is add code to
override fun onNewIntent(intent: Intent) {
...
1
vote
2
answers
87
views
Activity is ignoring meta-data when launched from code
I've configured an activity in androidmanifest.xml:
<activity android:name="com.google.androidbrowserhelper.trusted.LauncherActivity" android:theme="@android:style/Theme.Translucent....
6
votes
1
answer
2k
views
How do I add multiple SHA-256 fingerprints to my assetlinks.json for verifying Android links?
I have my assetlinks set up right now like so:
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "...
1
vote
1
answer
134
views
Undefined getDigitalGoodsService in TWA
Trying to integrate DigitalGoodsAPI in PWA app on Playstore. window.getDigitalGoodsService shows as undefined during internal testing of the android app.
So far :
I have signed up for orgin-trials, ...