File input is not working in webview in react-native

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



File input is not working in webview in react-native



I have a web view component as


<View style=height: 350>
<WebView
source=./index.html scalesPageToFit
/>
</View>



and I am using the following code to take a file form the user


<div id="wrapper">
<input type='file'/>
</div>



but i cannot select any file in android. now pop up appears as in the browsers. I set all the external storage read and write permissions too but no help.





This is not Right way to upload the file. try this npm package for file upload in react-native npmjs.com/package/react-native-fileupload
– anil sidhu
Aug 10 at 5:24










By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard