-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using WebView in Android v7.0 hangs the app. #13335
Comments
Found this in Android Docs for Android N(7.0) https://developer.android.com/about/versions/nougat/android-7.0.html#webview |
Did you also test on Android devices lower than 7.0? For example what happens with Lollipop or Marshmallow? |
@hey99xx : Yes, I had tried on Android devices lower than 7.0, and they work fine. |
@hey99xx I can confirm this is happening on older versions of Android. It's related specifically to the Android System Webview update (v 57.0.2987.132, Updated May 29, 2017). Our app was working before installing, installed JUST that update, now it hangs. I now have reports from:
I'm personally testing on Android 5.1 with security patch level 2016-03-01. This must be a chrome update problem. |
Google released a 126 version and then a couple days later the 132 version above. I believe the problem exists in both as 132 was just a security fix. Here is the changelog from the previous stable 108 to 126: https://chromium.googlesource.com/chromium/src/+log/57.0.2987.108..57.0.2987.126?pretty=fuller&n=10000 Here's a bug I logged with Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=709507 |
@ghidinelli In your bug report to Chromium, you've written
So do you think it's between 126 -- 132 or 108 -- 126. I am confused reading your post here and the bug report. Anyways thanks for notifying, I will also try to test this, as we also use webviews in react-native. |
@hey99xx I think it's between 108-126 because the 126-132 was just a security regression patch. We only started getting reports of this about 7-8 days ago and that's when .126 started rolling out. FWIW, uninstalling the update does restore working behavior. |
Looks to be same issue https://jira.appcelerator.org/browse/TIMOB-24540 ( at least same stack trace ) |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
Description
What I did: Tried to open WebView in Android Emulator v7.0.0 (API 24)
What I expected to happen: Open the url provided in a webview
What actually happens: The app hangs without loading the webpage
I had used Genymotion Emulator for this.
Some of the errors which I was able to see while running
adb logcat
were:Full logs at : https://gist.github.com/chiraggshah/b57b0eb6c67cd5ee4d9acc4033b809a4
Reproduction Steps and Sample Code
A simple application using
WebView
insideindex.android.js
should be able to reproduce thisAdditional Information
The text was updated successfully, but these errors were encountered: