Questions tagged [bubblewrap]

Bubblewrap is a set of tools and libraries designed to help developers to create, build and update projects for Android Applications that launch Progressive Web App (PWA) using Trusted Web Activity. The project can be used as a library, using the core module or from the command line, with the CLI module.

38 questions
4
votes
2 answers

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 registration). I'm trying to implement TWA with…
3
votes
0 answers

How to hide address bar in bubblewrap

I have an PWA application created using ionic & angular and then created .aab file using following link. https://developers.google.com/codelabs/pwa-in-play#0 After that installed it using command bubblewrap install on my device , I don't see any…
2
votes
1 answer

What is the proper way to install bubblewrap for opam (ideally without admin priviledges)?

I am getting this error: (iit_synthesis) brando9~ $ bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)" ## Using already downloaded "/tmp/user/22003/opam-2.1.4-x86_64-linux" ## Where should it be installed…
Charlie Parker
  • 5,884
  • 57
  • 198
  • 323
2
votes
2 answers

Facing issues while trying to init Bubblewrap for TWA installation

I am new to Bubblewrap. I downloaded Node.js and then did npm i -g @bubblewrap/cli. It threw some warnings, but it did finish. After this, when I am doing bubblewrap init --manifest https://beegle.app/bpro-manifest.json, I am getting some errors…
Mukesh Ghatiya
  • 398
  • 1
  • 5
  • 15
2
votes
1 answer

Is it possible to have multiple main domains (hostName) in a TWA?

I have a website available in several languages, each linked to a domain (.com, .co.uk, .de etc), and I’m doing a TWA with Bubblewrap for it. I have set the .com as the main hostname of the TWA, and I have authorized the other domains as indicated…
krisdr
  • 23
  • 3
2
votes
3 answers

BubbleWrap CLI shows Error The given android-sdk isn't correct when bubblewrap build

I want to build TWA using BubbleWrap CLI When I try to build my app using bubblewrap build | |) /_,--.,--| |-.| |-.| |,---.,--. ,--,--.--.,--,--.,---. | .-. | || | .-. | .-. | | .-. | |.'.| | .--' ,-. | .-. | | '--' ' '' | `-' |…
2
votes
1 answer

PWA inside a APK: why is it isolated from Android APIs?

When you put a Progressive Web App inside an APK, to sell on Goolge Play, for example by the use of Bubblewrap and Trusted Web Activity, the PWA can not interact with the Android APIs. Correct? If I have misunderstood this, please correct me and…
1
vote
1 answer

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 listPurchases(), we receive a "DOMException:…
1
vote
0 answers

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:
1
vote
0 answers

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, the PaymentRequest.canMakePayment() method…
1
vote
1 answer

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 bubblewrap init…
1
vote
1 answer

Reuse namespaces of process started by bubblewrap

Starting a shell with this: bwrap --unshare-pid --unshare-user --dev-bind / / bash In another shell on the host we can see this with lsns: 4026532550 user 2 1799976 user bwrap --unshare-pid --unshare-user --dev-bind / / bash 4026532552 mnt …
Jallan
  • 11
  • 1
1
vote
1 answer

Bubblewrap build fails, FAILURE: Build failed with an exception

The error below is part of what it spits out when I tried to run the command bubblewrap build . The website was built with reactjs and I'm using windows 10. I've gone through some of the similar problems posted and answered here, but they mostly…
1
vote
1 answer

Trusted Web Activity & Bubblewrap forcing the render engine (Chromium/firefox/geko)

Is there a way with bubblewrap when building a TWA to force the #custom-tabs engine that is used? Ie at the moment if a user has their default browser set as Firefox the TWA installed will use the Firefox/gecko implementation... I'd rather force TWA…
1
vote
1 answer

Lighthouse and bubblewrap PWA check fails when testing offline for start_url

I have a PWA that I am trying to use to create an Android app (apk) with a trusted web activity using bubblewrap tool (https://github.com/GoogleChromeLabs/bubblewrap). To check the PWA criteria, it uses Lighthouse which fails the following audit…
Andrei F
  • 4,205
  • 9
  • 35
  • 66
1
2 3