Comments (7)
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.
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.
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.
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.
Thanks for all your hard work guys and for the helpful resources. Really appreciate it! πͺ
from svgomg-twa.
from svgomg-twa.
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)
- TWA top url bar not hiding HOT 2
- Unable to instantiate service androidx.browser.trusted.TrustedWebActivityService HOT 4
- how to use fcm push notification on TWA apk HOT 1
- Does TWA notification delegation handle sound also? HOT 9
- [Question] Adsense in PWA/TWA HOT 3
- Setting Notifications to true still asks for permission from user HOT 7
- Hide div in twa in-app browser HOT 1
- Running the TWA from a Chromebook just opens the URL in the browser and not a standalone window HOT 5
- TWA app can't run independently without running chrome browser first HOT 1
- Android TV app HOT 1
- open new a tab (url) inside of TWA by browser which is not inside of TWA HOT 1
- Update Android SDK studio to version 30 HOT 1
- Facebook Comments Plugin Not Working in The TWA HOT 1
- How to prevent app from going into background when a class 0 SMS (flash SMS) pops up thus preventing UPI verification.
- Android generating 404 errors on TWA website
- TWA asset ink is updated but address bar is visible HOT 4
- Android Browser Helper version HOT 2
- Multiple TWAs created for the same domain but google search only indexes one TWA HOT 1
- notifications only display when the phone is unlocked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgomg-twa.