Giter VIP home page Giter VIP logo

Comments (8)

andreban avatar andreban commented on May 25, 2024 1

Thanks @naveedahmed1

The goal is to add the WebView fallback directly to android-browser-helper. The issue we're tracking this is here: GoogleChrome/android-browser-helper#15, and the demo is the first step in that direction. We will start working on that soon.

Once that is done, llama-pack will automatically get it.

from bubblewrap.

naveedahmed1 avatar naveedahmed1 commented on May 25, 2024 1

Can you please also add the basic instruction about this library to project read me file https://github.com/GoogleChromeLabs/bubblewrap/blob/master/README.md covering at least these two topics:

  • Creating new project
  • Updating existing project
  • Different available settings

from bubblewrap.

andreban avatar andreban commented on May 25, 2024 1

Work on more comprehensive docs will start soon.

from bubblewrap.

andreban avatar andreban commented on May 25, 2024 1

We havent' published a version with the feature yet. Will publish it this week.

from bubblewrap.

naveedahmed1 avatar naveedahmed1 commented on May 25, 2024

That's great, thanks for the update @andreban :)

from bubblewrap.

andreban avatar andreban commented on May 25, 2024

#105 adds this

  1. Update twa-manifest.json and include / update the fallbackStrategy field to webview.
  2. Run npx @bubblewrap/cli update to apply the changes to the template
  3. Run npx @bubblewrap/cli build to generate the APK.

We still default to customtab, as it provides better compatibility for Web APIs. We strongly recommend to comprehensively test the PWA inside the WebView when using it.

from bubblewrap.

naveedahmed1 avatar naveedahmed1 commented on May 25, 2024

bubblewrap is the new name for @llama-pack cli right?

from bubblewrap.

naveedahmed1 avatar naveedahmed1 commented on May 25, 2024

Should a new project generated through @bubblewrap/cli already have the option fallbackStrategy?

I just installed @bubblewrap/cli and generated a new app, but twa-manifest doesn't contain fallbackStrategy.

from bubblewrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.