Closed
Description
🐛 Bug Report
I am using webview to load local html file which shows the variety of tiles on google maps.
it works on native project, but two tiles doesn't load in react native project with same html file.
React Native screenshot.
Native screenshot.
Expected Behavior
Need to show all tiles correctly like as native.
Code Example
Here is codechip for webview.
<WebView
originWhitelist={['*']}
onLoad={this.onLoad}
source={Platform.OS === 'android' ? { uri: 'file:///android_asset/index.html' } : {uri: './index.html'}}
dataDetectorTypes={'none'}
ref='webview'
onMessage={e => this.onMessage(JSON.parse(e.nativeEvent.data))}
onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest}
onNavigationStateChange={this.onShouldStartLoadWithRequest}
injectedJavaScript={patchPostMessageJsCode}
useWebKit={true}
/>
I am not sure why this file doesn't work on react native.
Any help are appreciated.