Remove webview dependency from react-native/expo to prevent crashes when webview is updated.

Please provide the following:

  1. SDK Version: 48
  2. Platforms(Android/iOS/web/all): android/ios
  3. expo

We have an android application that doesn’t use WebView, but android System WebView updates crash our app. We would like to remove, if possible, all WebView dependencies from our build to avoid this crash. We have already tried removing react-dom and react-native-web and app.json only has android/ios entries. Any suggestions and advice would be greatly appreciated.

Solved this by calling WebView.disableWebView() in MainActivity.Java. Webview updates no longer impact our app.

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