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
1
vote
1 answer

How can I debug why my progressive web app PWA wont convert into an android apk

I am trying to convert my PWA website into an Android apk file to distribute in the Google Play store but cannot generate an apk file using either Bubblewrap or PWABuilder. The url for my PWA is https://www.stephengarside.co.uk . I am running the…
Stephen Garside
  • 1,185
  • 10
  • 15
1
vote
3 answers

How do I disable pull to refresh behavior in Trusted Web Activity (TWA)?

I have my PWA app which has this code in main.css file. @media all and (display-mode: fullscreen) { overscroll-behavior: none; } And when added to Homescreen and launched in fullscreen mode (set in manifest.json), pull-to-refresh is…
0
votes
0 answers

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": dependencies { def billingVersion =…
0
votes
0 answers

I am not able to create build in bubblewrap when i am running bubblewrap build

i am trying to deploy my next.js PWA app to the Google Play Store i am getting error when i am trying to create build using bubblewrap build command after initialisation using bubblewrap init…
0
votes
1 answer

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.
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

Bubblewrap Build fails with java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

I am trying to use Bubblewrap to ship my PWA as an android app. I have installed the latest @bubblewrap/cli, JDK 11 and Android SDK Android Studio More details about my Android SDK version: Arctic Fox | 2020.3.1 Patch 3 Build…
0
votes
0 answers

bubblewrap throwed MetaSpace exception

I just ran bubblewrap` to turn my PWA into an android app for the first time I run this cmd in a freshly installed windows 10 machine These are the commands I just used bubblewrap init --manifest…
Sh eldeeb
  • 1,589
  • 3
  • 18
  • 41
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

Trying to jail linux users using bubblewrap on ubuntu 18.04

I ran the below commands as root to install bubblewrap: $ apt install pkg-config libcap-dev automake $ git clone https://github.com/containers/bubblewrap.git $ cd bubblewrap $ git checkout v0.4.1 $ ./autogen.sh $ make $ make install $ ln -s…
jay
  • 1
  • 2
0
votes
1 answer

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 with an exception. * What went wrong: unable to…
0
votes
1 answer

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 bar at the top. Please refer to the…
0
votes
1 answer

Can not run bubble wrap

I'm trying to run BubbleWrap, this is the error that I run into bubblewrap build /usr/local/lib/node_modules/@bubblewrap/cli/node_modules/uuid/dist/esm-browser/index.js:1 export { default as v1 } from './v1.js'; ^^^^^^ SyntaxError: Unexpected token…
Budi
  • 29
  • 3
0
votes
1 answer

Can a PWA published as an Android app (using bubblewrap) track geolocation when phone screen is closed?

I'm creating a TWA using bubblewrap out of my PWA. While the app is open, we need to track the users location to notify them when they're near the destination. Can a PWA wrapped as a TWA, downloaded from Google Play, can still run when the phone…