TomGrill / gdx-facebook

libGDX extension providing cross-platform support for Facebook Graph API.
Apache License 2.0
61 stars 21 forks source link

[iOS] UIWebView deprecation #63

Open fedejordan opened 3 years ago

fedejordan commented 3 years ago

Hi guys, thanks for doing this awesome wrapper for Facebook SDK

I recenltly integrated the library and it seems that new apps with this frameworks cannot be uploaded to AppStore Connect due the UIWebView deprecation:

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Seems that Facebook iOS SDK 4.15.1 was using UIWebView.

Does anyone has an easy solution for this? I'm thinking of forking the repo and fix it with WKWebView, but I'm asking in case anyone has an updated version or better approach for it.

Thanks in advance!

fedejordan commented 3 years ago

I've joined the LibGDX discord community and they recommend me to use https://github.com/dkimitsa/robovm-robopods/tree/alt/facebook. Seems this library is not longer supported. I'll test it and share if it works here. If anyone has the time to do the gdx-facebook fix, ping me and I'll test it on my project. Thanks

TomGrill commented 3 years ago

I will look into this and decide whether to update this lib or recommend a better solution for future use.

JojoIce commented 3 years ago

So is the recommendation to switch to robopods?