Closed sagorahmed closed 5 years ago
hmm..
Just trying it out on a very low-performance phone that's sitting next to me at the moment.. I can't reproduce this. The site and its posts load fine.
I'll try googling some of the terms in your logcat.. to see if they can give me some clue as to what happened. But ultimately, I don't think that there's really anything I could do if a website was to crash your WebView. I mean.. the WebView is entirely responsible for browsing the web, and it isn't part of this app.. it's a common component that's already on your phone.. and is simply used by this app (as well as by many others).
I'd be curious to know if the WebView in this app.. which comes from this article.. crashes as well.. since it is super bare-bones.. having no functionality beyond a WebView and bookmarks.
Hi @warren-bank Don't know why occurring it on that specific site. But this crash confused me as well after I captured using ADB. There are no error logs and no FATAL EXCEPTION about this app in that logcat file. After searching many ways, i found those logs but I don't know those logs are responsible for crash or not. I think you should try this issue on an android emulator. I have also replicated this issue in your provided file
hmm..
well, since you're seeing similar crash behavior in that bare-bones app.. then it definitely traces back to the WebView component on your system.
just out of curiousity.. are you using a custom ROM? ..custom WebView component (ex: Bromite SystemWebView)? ..is there anything about your system that would make it potentially unstable?
No, I haven't installed custom ROM on my phone.
Is your Android System WebView fairly recent?
..I mean, it looks like the javascript on the page is crashing the component. Maybe it's just really old and needs an update?
Oh god! my phone's Android system Webview was updated a long time ago. Now it is not occurring. Thanks for encountering the main issue! :)
I'm glad for you that's all it was.. easy fixes are always the best fixes. :)
Is it possible to inform the users about the outdated Android system Webview from this app??
The README already has a section about that topic.
Personally, I feel that serves as enough of a warning. I don't think an app should nag the user to upgrade external dependencies.. I'd find that very annoying.
Plus, there's the whole issue that the WebView ecosystem is inconsistent. Android 4.x is stuck with whatever was baked into their OS. Android 5-7 can upgrade. Android 7+ defaults to using Chrome (if it's installed).. and falling back to the upgradable system WebView if it isn't.. plus they can install alternate WebViews and choose which one to use as default under developer settings. It's a mess.. and ultimately it boils down to each Android user/owner being responsible for maintaining/upgrading their own system in whatever way they like best.
Hmm, I got it. It's been a pleasure to talk with you. I learned something new from you. Thanks!
Expected behavior
The users should be able to visit web pages without getting any trouble.
Actual behavior
When I visited and tried to open a post, then the app crashed.
https://steemit.com
was the website.How to reproduce
https://steemit.com
LogCat
All the logs that I produced on my phone.