React native WebView不加载api 29中的内容,但在api 28中工作

React native WebView不加载api 29中的内容,但在api 28中工作,react-native,webview,android-webview,android-10.0,react-native-webview,React Native,Webview,Android Webview,Android 10.0,React Native Webview,我正在尝试在react native中加载本地html。在android中,当编译和目标api更改为29时,webview不会显示任何内容,但当我恢复到28时,它工作正常。由于androidx问题,我使用react native core webview而不是社区版本。有人遇到过这种问题吗 <WebView source={{ html: this.html }} startInLoadingState={false} useWebKit={true} al

我正在尝试在react native中加载本地html。在android中,当编译和目标api更改为29时,webview不会显示任何内容,但当我恢复到28时,它工作正常。由于androidx问题,我使用react native core webview而不是社区版本。有人遇到过这种问题吗

<WebView
    source={{ html: this.html }}
    startInLoadingState={false}
    useWebKit={true}
    allowUniversalAccessFromFileURLs={true}
    allowFileAccess={true}
    thirdPartyCookiesEnabled={true}
    javaScriptEnabled={true}
    domStorageEnabled={true}
    thirdPartyCookiesEnabled={true}
    scalesPageToFit={Platform.OS === "ios"}
    onLoad={this._loadEnd.bind(this)}
    onLoadEnd={() => console.warn("loading has ended")}
    onError={() => console.warn("Loading Error")}
    injectedJavaScript="document.forms['depositform'].submit()"
    renderLoading={() => <Loading />}
    onNavigationStateChange={(result) =>
      this._onNavigationStateChange(result)
    }
  />

react-native : 0.59.1
console.warn(“加载已结束”)}
onError={()=>console.warn(“加载错误”)}
injectedJavaScript=“document.forms['depositform'].submit()”
renderLoading={()=>}
onNavigationStateChange={(结果)=>
此.\u onNavigationStateChange(结果)
}
/>
反应本机:0.59.1