cannot access local html in android
See original GitHub issuereact-native: 0.61.4 react-native-webview: 7.5.1 when i render echarts with webview,it is work in ios ,but it is issues in android
` export default class WebViewDemo extends Component {
render() {
return (
<SafeAreaView style={{flex: 1}}>
<WebView
ref={el => this.webviewRel = el}
originWhitelist={['*']}
source={require('../h5/chart.html') }
/>
</SafeAreaView>
);
}
} `
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Why can't Chrome read a local HTML file on Android? - Quora
Right click on the .html file and select open with Google chrome. Way 2 : Open Google Chrome ...
Read more >Open HTML file on Android [duplicate] - Stack Overflow
1 Answer 1 · You can use a local web server in your Android phone itself. There are many server apps out there...
Read more >Opening local HTML files (file:///path/to/file) in Chrome on ...
For Android 11 [One UI 3.1] This means that on Android 11, the folder from which Chrome can read local (m)HTML is /Download...
Read more >Android 11 can't read HTML files error message ACCESS TO ...
After I upgraded my Samsung phone to Android 11, I couldn't read any local HTML files using Google Chrome or Brave web browsers....
Read more >Can't view local HTML files with Firefox on Android. - Reddit
This is baffles me. Tried opening a local HTML file today on my phone and the only choices were Chrome, HTML Viewer, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome! Glad it worked out.
@safaiyeh thanks man, it worked!