Skip to main content

18 posts tagged with "iOS"

iOS SDK releases

View All Tags

iOS Push Provisioning v2.0.0

· 8 min read
warning

This version is a major update over v1 that includes breaking changes in the public interface of the SDK.

Make sure you address these changes by following the instructions in the migration guide at the end of the release notes for this version.

Supported versions:

  • iOS: 15.1 and onwards
  • Xcode: 16.4 and 26
  • Swift: 5.9 and onwards

Added

  • Added WPPComponents.initialize(environment: , uiKey:).
  • Added WPPComponents.makePassEntriesForCardsWith(authenticationToken:, entries:, imageFallback:).
  • Added an async version of WPPComponents.addPaymentPass(authenticationToken: ,clientPaymentCardId: ,certificates: ,nonce: ,nonceSignature:) in case you prefer to avoid callbacks.
  • Added extra properties reason, domain, underlyingErrorCode, and errorCode to WPPError to provide better context into what went wrong.
  • Added WeavrProvisioningErrorCode and WeavrProvisioningErrorDomain to better represent errors. The end of this document contains appendixes with their values.
  • Added more cases to the AddCardToWalletStatus enum to better reflect the potential states a card can be in within Apple Pay.
  • Added a DeviceType enum to let you query the card status in a specific device between phone, or wallet. Also included an either value for convenience. The potential values and how to use them are listed in the Appendix.
  • Added WeavrProvisioningExtensionHandler to simplify the non-ui wallet extension integration.

Breaking change

  • Changed the completion block of WPPComponents.addPaymentPass(authenticationToken: ,clientPaymentCardId: ,certificates: ,nonce: ,nonceSignature: , completionHandler:) so that the PKAddPaymentPassRequest becomes nullable (PKAddPaymentPassRequest?). This allows to report failures to create the request, and is consistent with Apple's requirements in the PKIssuerProvisioningExtensionHandler.generateAddPaymentPassRequestForPassEntryWithIdentifier method.

Removed

  • Removed WPPComponents.makePassEntryForCardWith.
  • Removed WPPError.message in favour of newly added properties.

Deprecated

  • Deprecated WPPComponents.canAddCardToWallet(panLastFour:) in favour of WPPComponents.getCardStatusInWallet(forCardWithLastFourDigits:, deviceType:).

iOS Components v3.1.3

· One min read

Patch version that fixes an issue in Swift Package Manager (SPM) distribution, where a particular dependency didn't link dynamically, as expected by xcframework.


iOS Components v3.0.1

· One min read

The Biometric Authentication component now supports the authentication of the end user via password rather than passcode. The password is used in two scenarios related to biometrics:

  1. As a pre-requisite to biometrics enrolment, to authenticate the user for the first time
  2. As a fall-back method of authenticating the user if biometrics fails (e.g. fingerprint not recognised)