I created a Cordova project using Framework7 in December 2019. Recently I uploaded an iOS app archive to app store connect for Testflight. Then shortly after, I received an email that says “
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs”
With this in mind, can I still publish apps to the App Store? or are there any steps I need to do before publishing my app? I stumbled upon
Ionic’s blog addressing this problem but I’m not sure if I can apply the steps to my project.
If anyone can help that would be really appreciated! Many thanks in advance!
yes, its just a warning.
a topic of cordova-ios:
12:15PM - 29 Aug 19 UTC
04:32AM - 10 Feb 20 UTC
People has started receiving this warning when submitting apps that have references to UIWebView.
ITMS-90809: Deprecated API Usage - Apple will stop...
The App Store will no longer accept new apps using UIWebView as of April 2020 and app updates using UIWebView as of December 2020.
But does Framework7 use UIWebView? I created my project using the CLI in December 2019, the app might only be published to App Store after April 2020. I’m unsure if I need to do or change anything
No, Framework7 does not use UIWebView. But Cordova/PhoneGap for iOS does.
Cordova/PhoneGap, by default, uses UIWebView for iOS apps, which has been deprecated by Apple. So you must use WKWebView instead.
If you are getting this warning message, then you need to make following changes in your project:
First of all, update cordova-ios version to 5.1.0
Check this link: https://cordova.apache.org/announcements/2019/11/25/cordova-ios-release-5.1.0.html
Add WKWebView plugin to your project:
Add this line to your config.xml
<preference name="WKWebViewOnly" value="true"/>
Now your project will use WKWebView only, which removes the warning.
PS: If the warning still appears, then please ensure that the cordova plugins you have included in your project do not use UIWebView in their code.
“PS: If the warning still appears, then please ensure that the cordova plugins you have included in your project do not use UIWebView in their code.”
How can I check this? How can I search the plugins for UIWebview?
For me, last time i submitted app, issue was with In App Browser plugin
is there any fix for that photo browser plugin?
to avoid that error when submitting to app store?
would you mind explain me, how did you fix it?
i noticed the inappbrowser plugin has option to use wkwebview, Using
does it solve the problem?
thank you for your help.
Not really remember as it was few months ago, but i took some active or closed PR from that repo and applied changes manually to files. Like this
thank you. i will check and try.
thank you for your help.
Would you be so kind as to share the results?
i did not submit the app yet. also our app does not use the inappbrowser.
i will update you the status after i submit.