Skip to content

Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability #2

@ferAgredano

Description

@ferAgredano

I'm using react-native-openpay on my project and tried to upload it into apple connect, I received an email with this issue: "ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability".
I searched on the node_modules folder with the command "grep UIWebView -r node_modules" and I got this output:
"node_modules/react-native-openpay/RNOpenpay/DeviceCollectorSDK.h:@interface DeviceCollectorSDK : NSObject
Binary file node_modules/react-native-openpay/RNOpenpay/openpay.a matches"
https://developer.apple.com/documentation/webkit/wkwebview/
I've tried replacing UIWebViewDelegate with WKUIDelegate on the DeviceCollectorSDK.h but seems that the openpay.a binary file still matches with UIWebView.
How can I generate again the openpay.a file? I'm really new with the IOS compilation.
And this is really what is not allowing me to upload to apple connect?

RN: 0.6
react-native-openpay: ^2.0.1
I'm using cocoapods but the library is linked manually because y haven't found how to add it with pods.

Thanks, and regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions