I've completed the setup required for in-app push provisioning on the iOS platform. Encountering an issue at the completion handler step while sending data back to the PassKit framework.
The delegate method used is:
func addPaymentPassViewController(completionHandler handler: @escaping (PKAddPaymentPassRequest) -> Void)
The error observed is: Error Domain=PKPassKitErrorDomainCode=2 which is PKUnsupportedVersionError
The device used for testing is running iOS version 17.4.1.
Hi @chtnsngh16,
The PKUnsupportedVersionError
error code is thrown due to the version of the operating system not supporting the version of the pass(es). You can also find more information in the userInfo
object of the NSError
, or by logging the localized description of the NSError
.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer