GithubHelp home page GithubHelp logo

Comments (7)

andreban avatar andreban commented on July 18, 2024 4

Thanks for the feedback, @AlexBorsody

I agree that, as library matures, we'll have less issues and the need to update will become more sparse.

Though, It's fair to say that, once a developer creates an app and uploads to a store, they will need to update it with some frequency. It may be because the minimum target SDK requirement changed or because an underlying library was updated with bug fixes. This is also true with the WebView, as it has its own support library.

In most cases, updating will mean updating the support library version, rebuilding and uploading the new version. Bubblewrap reduces the amount of work needed and provides commands that could, for instance, be integrated into a CI (bubblewrap update and bubblewrap build). Uploading the new version to the store is still manual. We hope to automate that even more in the future.

Moving from the old custom-tabs-client library to android-browser helper does require more steps than the usual. But once the application is moved, updates should be streamlined.

Regarding unknown crashes, we're working on tracking and fixing those - from the ones mentioned on this issue, some may have already been fixed on the android-browser-helper library - that's why we recommend updating. Others, like this one, are harder to reproduce and fix, and seem to be tied to the OS itself, and not to the Trusted Web Activity (meaning that if the app was 100% native or used the WebView, they'd still see the issue).

Any further details on those issues, such as the devices where the issue is happening and how often they happen further help us understand what is causing the crash and prioritize fixing it. If possible, a reproduction case is the best (but, from what I've seen in those crashes, not possible in most cases)

We're working on improving the Running in Chrome toast.

from svgomg-twa.

matthewhartman avatar matthewhartman commented on July 18, 2024

Hey @jitendra1607

Interesting issue. Do you mind pasting the contents of your /app/build.gradle file so I can try and help.

Cheers.

from svgomg-twa.

PEConn avatar PEConn commented on July 18, 2024

Hey, I'd recommend using either bubblewrap, which is a command line tool for generating TWAs or the more hands android-browser-helper instead of this project. They're the recommended, up to date way of making TWAs, this project is mostly deprecated (see the top bit of the README). (llama-pack is what bubblewrap used to be called, we should update that.)

from svgomg-twa.

AlexBorsody avatar AlexBorsody commented on July 18, 2024

Seems like may be best to stick with WebView, to avoid code updates every few months, unknown crashes and of course the "running in Chrome toast." In addition, sharing the same state as the browser can also be confusing, I don't native device features for now so WebView is probably the best solution until TWAs are better supported. I like the small package size but too many other issues. I look forward to giving this a try again down the line. Thanks for all the hard work so far!

from svgomg-twa.

matthewhartman avatar matthewhartman commented on July 18, 2024

Thanks for all your hard work guys and for the helpful resources. Really appreciate it! πŸ’ͺ

from svgomg-twa.

jitendra1607 avatar jitendra1607 commented on July 18, 2024

from svgomg-twa.

andreban avatar andreban commented on July 18, 2024

Closing the issue. Please, report an issue on https://github.com/GoogleChrome/android-browser-helper if this still a problem.

from svgomg-twa.

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.