Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIWebView no longer supported by Apple #30

Open
samhinchcliffeapk opened this issue Mar 5, 2021 · 3 comments
Open

UIWebView no longer supported by Apple #30

samhinchcliffeapk opened this issue Mar 5, 2021 · 3 comments

Comments

@samhinchcliffeapk
Copy link

Hi guys - We've tried uploading a build to Apple with your SDK in it and had a rejection email stating:

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

We don't use UIWebView in our app only WKWebView as does every other SDK we've integrated, only the "RXPiOS" cocoapod we're currently using uses UIWebView.

Are you able to migrate to WKWebView and update the cocoapod version or is there a new SDK we should be using instead?

Thanks!

@samhinchcliffeapk samhinchcliffeapk changed the title UIWebView not longer supported by Apple UIWebView no longer supported by Apple Mar 5, 2021
@slogsdon
Copy link
Contributor

slogsdon commented Mar 5, 2021

@samhinchcliffeapk We removed the usage of UIWebView, converting to WKWebView, in version 1.6.0 (https://github.com/globalpayments/rxp-ios/releases/tag/1.6.0). Have you updated to at least this version yet?

@samhinchcliffeapk
Copy link
Author

samhinchcliffeapk commented Mar 5, 2021

@slogsdon we were using version 1.5.0, we've updated to 1.6.0 now. A quick search for "UIWebView" in the SDK shows that GenericHPPManager conforms to UIWebViewDelegate still. Can you confirm that this won't be an issue when we next upload to Apple?

open class GenericHPPManager<T: Decodable>: NSObject, UIWebViewDelegate, HPPViewControllerDelegate

@slogsdon
Copy link
Contributor

slogsdon commented Mar 9, 2021

@samhinchcliffeapk The UIWebViewDelegate protocol hasn't yet be deprecated, so you shouldn't experience any issues there. We do have some in-flight changes that will remove this from our code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants