How can I migrate from UIWebView to WKWebView? ITMS-90809: Deprecated API Usage

Hello,

I'm trying to publish an app on iOS, but when I upload it, I get an email from Apple saying the following: "New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability"

I've been looking at how to fix the problem, but I can't. What I have read is that fbsdk used UIWebView, but I have updated it to the latest version that uses WKWebView.

I'm not using UIWebView anywhere, it must be some node module or something like that ... I've tried to locate it with grep, but all references to UIWebView are comments...

These are my Pods:
Code Block AccountKit
CocoaAsyncSocket
CocoaLibEvent
DoubleConversion
FBSDKCoreKit
FBSDKLoginKit
FBSDKShareKit
Firebase
FirebaseAnalytics
FirebaseAuth
FirebaseAuthInterop
FirebaseCore
FirebaseCoreDiagnostics
FirebaseCoreDiagnosticsInterop
FirebaseInstanceID
Flipper
Flipper-DoubleConversion
Flipper-Folly
Flipper-Glog
Flipper-PeerTalk
Flipper-RSocket
FlipperKit
Folly
GTMSessionFetcher
Google-Mobile-Ads-SDK
GoogleAppMeasurement
GoogleDataTransport
GoogleDataTransportCCTSupport
GoogleUserMessagingPlatform
GoogleUtilities
Headers
Local Podspecs
MMKV
MMKVCore
Manifest.lock
OneSignal
OpenSSL-Universal
Pods.xcodeproj
PromisesObjC
Target Support Files
YogaKit
boost-for-react-native
glog
nanopb

And these are my dependencies:
Code Block "dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-decorators": "^7.10.1",
"@invertase/react-native-apple-authentication": "^1.0.0",
"@react-native-community/async-storage": "^1.11.0",
"@react-native-community/checkbox": "^0.5.5",
"@react-native-community/masked-view": "^0.1.10",
"@react-native-community/netinfo": "5.9.2",
"@react-native-community/picker": "^1.7.1",
"@react-native-community/viewpager": "4.0.1",
"@react-native-firebase/app": "^6.7.1",
"@react-native-firebase/auth": "^6.7.1",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
"@woocommerce/woocommerce-rest-api": "^1.0.1",
"add": "^2.0.6",
"api-ecommerce": "0.0.35",
"base-64": "^0.1.0",
"currency-formatter": "^1.5.4",
"html-entities": "^1.3.1",
"jetifier": "1.6.6",
"lodash": "^4.17.15",
"moment": "^2.26.0",
"oauth-1.0a": "^2.2.6",
"patch-package": "^6.1.2",
"radio-buttons-react-native": "^1.0.4",
"react": "16.13.1",
"react-native": "0.62.2",
"react-native-admob": "^2.0.0-beta.6",
"react-native-animatable": "^1.3.2",
"react-native-app-intro-slider": "^4.0.4",
"react-native-checkbox": "^2.0.0",
"react-native-checkbox-form": "^1.1.5",
"react-native-clean-form": "^0.5.0",
"react-native-collapsible": "^1.4.0",
"react-native-country-picker-modal": "1.11.0",
"react-native-datepicker": "^1.7.2",
"react-native-drawer": "^2.5.1",
"react-native-facebook-account-kit": "^2.1.0",
"react-native-fbsdk": "^3.0.0",
"react-native-fluid-slider": "^1.0.2",
"react-native-gesture-handler": "^1.7.0",
"react-native-hyperlink": "^0.0.19",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-keyboard-aware-scroll-view": "0.9.1",
"react-native-linear-gradient": "^2.5.5",
"react-native-localization": "^2.1.4",
"react-native-masked-text": "^1.12.4",
"react-native-mmkv-storage": "^0.3.5",
"react-native-modalbox": "2.0.0",
"react-native-paper": "^4.4.1",
"react-native-picker-select": "^7.0.0",
"react-native-radio-button-group": "^1.0.3",
"react-native-radio-buttons": "^1.0.0",
"react-native-reanimated": "^1.13.0",
"react-native-render-html": "^4.1.2",
"react-native-restart": "^0.0.17",
"react-native-safe-area-context": "^3.1.6",
"react-native-screens": "^2.10.1",
"react-native-scrollable-tab-view": "1.0.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-star-rating": "^1.1.0",
"react-native-swipe-list-view": "^3.1.0",
"react-native-swiper": "^1.6.0",
"react-native-vector-icons": "^6.6.0",
"react-native-webview": "^10.4.1",
"react-navigation": "4.3.9",
"react-navigation-stack": "^2.5.1",
"react-navigation-tabs": "^2.8.13",
"react-redux": "7.2.0",
"redux": "4.0.5",
"redux-actions": "^2.6.5",
"redux-persist": "5.10.0",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"tcomb-form-native": "^0.6.20",
"toggle-switch-react-native": "^2.3.0",
"urijs": "^1.19.1",
"url": "^0.11.0",
"url-parse": "^1.4.7",
"util": "^0.12.3",
"uuid": "^7.0.2",
"validate.js": "^0.13.1",
"woocommerce-api": "https://github.com/sabarnix/woocommerce-api.git",
"wpapi": "^1.2.1",
"yarn": "^1.22.4"
},
"devDependencies": {
"@babel/core": "7.10.2",
"@babel/runtime": "7.10.2",
"@react-native-community/eslint-config": "^1.1.0",
"babel-jest": "26.0.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"eslint": "7.2.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "2.21.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react-hooks": "^4.0.4",
"jest": "26.0.1",
"metro-react-native-babel-preset": "0.59.0",
"react-test-renderer": "16.13.1",
"reactotron-react-native": "5.0.0",
"reactotron-redux": "3.1.3"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js"
]
}
}

I would really appreciate any kind of help

Regards.


Replies

IMO, that's a question to ask first to Facebook.