How did you link to the library (autolinking, manual, rn link, cocoapods)?
Autolinking
What version of React Native?
0.60.0
What version of the library?
4.0.13-16
iOS version?
iOS 13+
Did the problem happen after updating React Native?
No
Are you using the library for the first time?
No
It's a bug? Provide a link to a minimal reproduction case.
I am using the library in my app and when uploaded to App Store, it is not accepted due to
"ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. "
When I do grep UIWebView -r node_modules/*
it gives me the following result:
node_modules/create-react-class/node_modules/fbjs/lib/UserAgent.js.flow: * - UIWebView node_modules/create-react-class/node_modules/fbjs/lib/UserAgent.js: * - UIWebView node_modules/fbjs/lib/UserAgent.js.flow: * - UIWebView node_modules/fbjs/lib/UserAgent.js: * - UIWebView node_modules/jsc-android/dist/include/JSContextPrivate.h:/*! @abstract The delegate the context will use when trying to load a module. Note, this delegate will be ignored for contexts returned by UIWebView. */ node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: // We are unable to get textField object while keyboard showing on UIWebView's textField. (Bug ID: #11) node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: //Commented due to #56. Added all the conditions below to handle UIWebView's textFields. (Bug ID: #56) node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: // We are unable to get textField object while keyboard showing on UIWebView's textField. (Bug ID: #11) node_modules/ua-parser-js/test/browser-test.json: "ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Mobile/14A456 QQ/6.5.3.410 V1_IPH_SQ_6.5.3_1_APP_A Pixel/1080 Core/UIWebView NetType/WIFI Mem/26"
There were other libraries also listed before, but when I updated to the latest versions of those libraries, they were no longer flagged.
Any help in this regard would be great, because we will not be able to proceed with App Store upload without a fix.
grep UIWebView -r node_modules/*
it gives me the following result:node_modules/create-react-class/node_modules/fbjs/lib/UserAgent.js.flow: * - UIWebView node_modules/create-react-class/node_modules/fbjs/lib/UserAgent.js: * - UIWebView node_modules/fbjs/lib/UserAgent.js.flow: * - UIWebView node_modules/fbjs/lib/UserAgent.js: * - UIWebView node_modules/jsc-android/dist/include/JSContextPrivate.h:/*! @abstract The delegate the context will use when trying to load a module. Note, this delegate will be ignored for contexts returned by UIWebView. */ node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: // We are unable to get textField object while keyboard showing on UIWebView's textField. (Bug ID: #11) node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: //Commented due to #56. Added all the conditions below to handle UIWebView's textFields. (Bug ID: #56) node_modules/react-native-keyboard-manager/ios/IQKeyboardManager/IQKeyboardManager.m: // We are unable to get textField object while keyboard showing on UIWebView's textField. (Bug ID: #11) node_modules/ua-parser-js/test/browser-test.json: "ua" : "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Mobile/14A456 QQ/6.5.3.410 V1_IPH_SQ_6.5.3_1_APP_A Pixel/1080 Core/UIWebView NetType/WIFI Mem/26"
There were other libraries also listed before, but when I updated to the latest versions of those libraries, they were no longer flagged. Any help in this regard would be great, because we will not be able to proceed with App Store upload without a fix.