przelewy24 / p24-mobile-lib-ios

iOS library for Przelewy24 payments
2 stars 0 forks source link

New apps using latest Mobile SDK are no longer accepted by Apple because of UIWebView usage #15 #6

Closed piotr-marat closed 4 years ago

piotr-marat commented 4 years ago

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).

piotr-marat commented 4 years ago

My bad - latest lib is actually fine. I'm closing it.

dac14 commented 4 years ago

Hi, I'm using your latest SDK. I'm still receiving email from apple about usage of deprecated api usage (UIWebView). I've used grep to find files in my project that uses UIWebView and it shows me that binary file ./.../libP24.a matches. Can you please verify that?

piotr-marat commented 4 years ago

Hi, I'm using your latest SDK. I'm still receiving email from apple about usage of deprecated api usage (UIWebView). I've used grep to find files in my project that uses UIWebView and it shows me that binary file ./.../libP24.a matches. Can you please verify that?

I'm using latest lib24-bitcode.a - and Apple Store has accepted that one. I had this issue with some older one.

mareklat commented 4 years ago

I confirm that. UIWebView has been replaced by WKWebView in version 3.4.1. To be sure which version you're using, use the P24.sdkVersion() method.

dac14 commented 4 years ago

I've checked sdk version, I'm using "3.5.1-ios". I'll try to verify other libraries probably one of the social logins are trolling me...

piotr-marat commented 4 years ago

I've checked sdk version, I'm using "3.5.1-ios". I'll try to verify other libraries probably one of the social logins are trolling me...

I had this pain few weeks ago with react-native 0.59.* ecosystem. After upgrade to 0.62.2 problem disappeared.

dac14 commented 4 years ago

In my case it was googleSignIn library imported to the project as binary. Thats why I wasn't able to find reference to UIWebView using grep -r UIWebView .. Case is closed 3.5.1 works fine with WKWebView :D