-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
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:
04-06 04:03:11.218 1802 1833 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupViewManager
04-06 04:03:11.219 1802 1833 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode
04-06 04:03:11.223 1802 1833 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeViewManager
04-06 04:03:11.223 1802 1833 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode
04-06 04:03:11.223 1802 1833 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextViewManager
04-06 04:03:12.395 1802 1862 E chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xd517d5c0]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command
Full logs at : https://gist.github.com/chiraggshah/b57b0eb6c67cd5ee4d9acc4033b809a4
Reproduction Steps and Sample Code
A simple application using WebView
inside index.android.js
should be able to reproduce this
import React, { Component } from 'react';
import { AppRegistry, WebView } from 'react-native';
export default class SampleAndroidTest extends Component {
render() {
return (
<WebView
source={{uri: 'https://www.facebook.com'}}
style={{
backgroundColor: 'rgba(255,255,255,0.8)',
height: 300,
}}
scalesPageToFit={true}
/>
);
}
}
AppRegistry.registerComponent('SampleAndroidTest', () => SampleAndroidTest);
Additional Information
- React Native version: I tried on 0.41.0 and 0.43.0, but I think it should be reproducable on other versions as well
- Platform: Android
- Development Operating System: MacOS
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.