React-Native的Webview无法在安卓中加载ppt、xls或doc文件,但在iOS中正常工作。在安卓中,它会下载文件,但不会在webview中显示内容。
请问您对以上内容有什么想法?
<WebView
javaScriptEnabled={true}
originWhitelist={['*']}
scalesPageToFit={false}
source={{
uri: `https://www.cmu.edu/blackboard/files/evaluate/tests-example.xls`
//doc
// uri:`https://calibre-ebook.com/downloads/demos/demo.docx
}} />
请问您对以上内容有什么想法?