-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi, i was just wondering if the status requireActivation can be dealt with by just showing the AddButton and handling it as i always do or i need a specific function?
in the custom package i had for apple pay, we had a specific function to call or that use case.
Function("requireActivation") { (lastDigits: String) -> String? in
for pass in PKPassLibrary().passes(of: .secureElement) {
if pass.secureElementPass?.primaryAccountNumberSuffix == lastDigits && pass.secureElementPass?.passActivationState == .requiresActivation {
return pass.secureElementPass?.passURL?.absoluteString ?? nil
}
}
return nil
}it was giving the link to remove the pass in wallet app to start over from our app.
We disabled the possibility to activate by other means than from the app mostly to prevent scammer. So we need to handle the case where people start from the wallet app either by making them remove the pass and go through the app or a way to finish the onboarding process.
Metadata
Metadata
Assignees
Labels
No labels