EddyVerbruggen / SocialSharing-PhoneGap-Plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget
MIT License
1.78k stars 908 forks source link

iOS: Any plan to remove UIWebView and use WKWebView instead? #1052

Closed joelz closed 4 years ago

joelz commented 4 years ago

Hi,

Recently people has started receiving this warning when submitting apps that have references to UIWebView.

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.

Here's a Twitter thread from one Apple dev on the topic: https://twitter.com/NiklasMaerz/status/1167031874738434048

Although our app (which used this plugin) has not received the warning yet, but I find this plugin also uses UIWebView:

https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/blob/4740df80faabf38cccc7d66803769690205fc0d6/src/ios/SocialSharing.m#L37

So is there any plan to remove UIWebView reference and use WKWebView instead?

Thanks.

EddyVerbruggen commented 4 years ago

I've removed it in 5.6.0 so the iPadPopupCoordinates feature no longer works until someone makes it WKWebView compatible.

tryhardest commented 4 years ago

Nice. We must be on an old version as we still saw references. Will upgrade thank you. For this interested https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html