Currently I'm presenting the PKAddPaymentPassViewController in my react-native application with the following code
let delegate = PKAddPaymentPassDelegate();
let pkAddPaymentPassViewController = PKAddPaymentPassViewController.init(requestConfiguration: pkAddPaymentPassRequestConfiguration!, delegate:delegate );
DispatchQueue.main.async {
RCTPresentedViewController()?.present(pkAddPaymentPassViewController!, animated: true, completion: nil);
}
The problem is, that when I'm taping the cancel button on the left-top, the View is not disappearing.
Has anyone faced this problem ? any help would be appreciated