I just uploaded a build of one of my apps to the app store and I got this message in my email:
We identified one or more issues with a recent delivery for your app, “Zynect Sensors” 1.0.6 (1.0.6). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage -
Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020. See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can upload a new binary to App Store Connect.
The App Store Team
I got this last time I uploaded as well, a couple months ago, and at the time I googled and I’m pretty sure I came across this Stackoverflow post: https://stackoverflow.com/questions/58619242/error-ionic-4-itms-90809-deprecated-api-usage-apple-will-stop-accepting-submi and implemented the guidance therein. Namely,
- I added the
<preference name="WKWebViewOnly" value="true" />as an element nested under the
<widget>element in config.xml after all the other
<preference>elements already in config.xml.
- I checked and
npm ls cordova-iosshows @5.1.1 and
cordova --versionindicates @9.0.0 both of which are the latest releases available according to npm at the time of this post.
- I ran
cordova prepare iosand didn’t see any warnings or errors.
So… April is fast approaching and I’m starting to get concerned that I’m going to be hosed by this. What might I be doing wrong, and how can I check that the right things have happened before I next submit my app to Apple?
Might one of my plugins be causing this? The only one I can think of that could be implicated, I suppose, is
cordova-plugin-googleplus which I use to allow my users to sign in with Google, but to be honest, I have no idea. This issue on that repository would sort of suggest that is the case.