WebView with 'useWebKit' cannot attach file

Please provide the following:

  1. SDK Version: 34.0.4
  2. Platforms: ios/android
 <SafeAreaView style={styles.boxSafeAreaView}>
        <WebView source={{ 'uri': WEBAPP }} useWebKit={true} />

I have implemented expo project which use WebView component with useWebKit but I got some issue. In the project there is field which have to attach file (pdf, image) but the app cannot attach it.

Do you have any solution to solve this one?

ps. If I remove useWebKit, the app can run and attach files
ps2. The reason that I need to use useWebKit is due to the IOS UIWebKit deprecation

Thank you,

Hey @phattana,

I was going to recommend creating an issue on the github repo for react-native-webview but it looks like you already did. Cannot attach file when using 'useWebKit' · Issue #857 · react-native-webview/react-native-webview · GitHub The maintainers will be better suited to address this.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.