We are trying to publish our new iOS(ionic 5) app but apple rejecting the build stating Uiwebview is deprecated. We have followed several references and made all changes, still apple rejection the same. Attached the package.json and config.XML file. Also below is the message received from apple. Quick replies are appreciated as our app is blocked due to this. Thank you
No attachment in your post
Here is part of an email I received from Ionic near the end of march 2020:
You can find complete details including upgrade instructions on the [Ionic blog]
(https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation), but here’s the summary:
- Using Cordova? Update to cordova-ios 5.1.0 and above, install the WKWebView plugin, and update each Cordova plugin to the latest version.
- Using Capacitor? Update to the latest version then sync the project.
- Submit a new version of your app before the deadline to ensure that it has been updated correctly.
We have done all and still getting rejected.
Me too… I did everything that is suggested in the Ionic blog post. But still Apple has rejected citing the same issue. Do not know how else to resolve this.
I solve this issue in another ionic project two weeks before and the app got approved by the Apple team.
Created a new ionic project in mac and upload in testflight production and I got rejected then add
<preference name="WKWebViewOnly" value="true" />in
config.xml. And upload got approved.
Install the necessary plugin only and upload got approved.
Finally, replace the src folder in the new project with my old project and all UI and functionality work fine then upload and got approved. And the app moved to live and it’s working fine also.