useWebKit=true doesn't appear to use WKWebView

I started getting this warning via email from Apple too. Here is part of the message from Apple (for what it’s worth):

  • ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See Apple Developer Documentation for more information.

I’m on Expo SDK 34 and installed react-native-webview via expo install, which installed version react-native-webview 5.12.1. From what I understand, Apple detects that my app has UIWebView bundled into it, even if I’m not calling UIWebView (similar to your code example, above).

In an effort to fix this, react-native-webview was just updated (see issue here) to remove UIWebView completely. Hopefully a future Expo update will bring in that release soon (maybe in SDK 35???).

An important thing to note, though, is that other React Native dependencies can also use UIWebView and thus also cause the deprecation warning from Apple (you can always search through your node_modules folder for those).

1 Like