-
Notifications
You must be signed in to change notification settings - Fork 3k
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
webview not working on Android 10 #1196
Comments
Same problem, need solution for this bugs. Happen in Samsung Galaxy Note 10 |
same problem.. need solution.. |
+1 |
Any update on this bugs ? |
same problem |
1 similar comment
same problem |
Encountered this in expo. Fixed it by executing: yarn react-native link react-native-webview |
same problem +1 |
+1 |
1 similar comment
+1 |
Hmm so there is currently no solution for this one? I'm encountering same issue but only in production release (using Android App Bundle) |
Oh, my problem was that I didn't explicitely prepend "https://" to the URL address. |
Same here, our users report crashes with Android 10 (amongst devices there's a S9). Sadly, I can't reproduce it on the emulator and I don't have any physical device. Could it be related with Google stopping using Chrome as the WebView handler in Android 10 and switching back to Android System WebView? For info, I've tried updating to 10.1.1 without success. |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
facing the same issue |
is anyone able to workaround this? I am also facing the same issue. |
For me, disabling the hardware acceleration was enough to fix it, see #1069 (comment) if that's acceptable in your case. |
@oailloud, disabling hardware acceleration does not work in my case. |
Same problem with me, it is showing a blank sceen when I load a url, I have android 10, I am using Android Studio. |
+1 |
+1 But except this happens to me on Android Studio + Java. I think it's something to do with the WebView implementation itself ( a guess at best ). The issue appears for only Android 10+ devices and for only the one website I'm trying to access. The website opens on Android 8 devices and other sites (URLs) open on both Android 10 & 8. So I don't know if that's helpful for this thread |
plus 1 ( android 10) |
+1 any updates? |
No update |
+1 |
+1 |
+1 any update? |
+1 |
1 similar comment
+1 |
I have fixed this issue.. You need to uninstall 'Android System WebView' on your Android 10 device then update it. done |
same problem +1 |
+1 |
1 similar comment
+1 |
Since the new update of API 29 Android 10 in December 2019, react-native-webview is not working on Android 10.
Bug description:
White screen on the view
To Reproduce:
<View style={{flex: 1}}> <WebView style={{flex: 1}} startInLoadingState scalesPageToFit javaScriptEnabled source={{ uri: RestConstant.grafanaLink + this.state.username, headers: { Authorization: 'Bearer ' + this.state.token, }, }} originWhitelist={['*']} domStorageEnabled={true} ignoreSslError={true} renderError={e => { return this.renderError(); }} /> </View>
Expected behavior:
![Screen Shot 2020-02-10 at 10 58 03](https://user-images.githubusercontent.com/15220788/74120053-9315bc00-4bf4-11ea-9f82-71af57c5338b.png)
Show the webview from url
on iOS
Screenshots/Videos:
![Screen Shot 2020-02-10 at 11 04 30](https://user-images.githubusercontent.com/15220788/74120281-539b9f80-4bf5-11ea-9012-718418bb1a46.png)
White screen and loop loading
on Android Nexus 5 API 29
Environment:
The text was updated successfully, but these errors were encountered: