Skip to main content

API Reference & Changelog

API Reference

MPP React Native API Reference: API Reference

Changelog

1.8.1

2024-08-23

Fixed

  • Fixed MeaPushProvisioning.SamsungPay.activateWithTokenUniqueReference(tokenUniqueReference, paymentNetwork) method.

1.8.0

2024-08-07

Modified

  • Method MeaPushProvisioning.ApplePay.loadConfig(...) now accepts absolute path to the configuration file.
  • Method MeaPushProvisioning.ApplePay.secureElementPassWithSerialNumber(serialNumber) now returns local secure element pass only.

Added

  • Added MeaPushProvisioning.ApplePay.remoteSecureElementPassWithSerialNumber(serialNumber) method.

1.7.0

2024-06-24

Modified

  • Updated MeaPushProvisioning.ApplePay.activate(secureElementPass, activationData or paymentNetwork) method to handle server activation when payment network is passed as a second argument.

Added

  • Added MeaPushProvisioning.getTokenUniqueReference(payload) method.
  • Added MeaPushProvisioning.ApplePay.secureElementPassWithSerialNumber(serialNumber) method.
  • Added MeaPushProvisioning.GooglePay.getTokenInfo(payload) method.
  • Added MeaPushProvisioning.GooglePay.activateWithTokenInfo(tokenInfo) method.
  • Added MeaPushProvisioning.GooglePay.activateWithTokenUniqueReference(tokenUniqueReference, paymentNetwork) method.
  • Added MeaPushProvisioning.SamsungPay.getCard(payload) method.
  • Added MeaPushProvisioning.SamsungPay.activateWithCard(card) method.
  • Added MeaPushProvisioning.SamsungPay.activateWithTokenUniqueReference(tokenUniqueReference, paymentNetwork) method.

1.6.0

2024-04-03

Modified

  • Exported MppSecureElementPass and MppPass types.

Added

  • Added MeaPushProvisioning.GooglePay.isWalletAvailable() method.
  • Added MeaPushProvisioning.SamsungPay.isWalletAvailable() method.
  • Added MeaPushProvisioning.SamsungPay.sendUserToSamsungPay() method.
  • Added privacy manifest, included NSPrivacyAccessedAPITypes - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryUserDefaults.
  • Added code signature.

Fixed

  • Fixed MeaPushProvisioning.GooglePay.declineActivation() and MeaPushProvisioning.SamsungPay.declineActivation() activationResult argument type.
  • Fixed MeaPushProvisioning.SamsungPay.activate(...) to send a correct response.

1.5.1

2024-02-02

Fixed

  • Fixed crash in MeaPushProvisioning.GooglePay.pushCard(...) method when GooglePay returns empty payment network.

1.5.0

2024-01-31

Modified

  • MeaPushProvisioning.SamsungPay.activate() method renamed to MeaPushProvisioning.SamsungPay.activatePay().

Added

  • Added MeaPushProvisioning.SamsungPay.setServiceId(String) method.
  • Added MeaPushProvisioning.SamsungPay.getWalletInfo() method.
  • Added MeaPushProvisioning.SamsungPay.verifyCardIdv(...) method.
  • Added MeaPushProvisioning.SamsungPay.activate(activationCode) method.
  • Added MeaPushProvisioning.SamsungPay.declineActivation(...) method.
  • Added MeaPushProvisioning.GooglePay.declineActivation(...) method.

Fixed

  • Fixed MeaPushProvisioning.SamsungPay.checkWalletForCardToken(...) method not fulfilling or rejecting promise.
  • Fixed IssuerExtensionHandler.remotePassEntries(...) helper method not passing entries to Apple Watch.

1.4.3

2024-01-30

Fixed

  • iOS logging disabled by default.

1.4.2

2024-01-17

Fixed

  • Fixed crash in MeaPushProvisioning.GooglePay.getRegisteredTokens(...) method.

1.4.1

2023-12-13

Modified

  • Increased cardId length limit to 128.

1.4.0

2023-11-04

Modified

  • Added MeaPushProvisioning.ApplePay.canAddRemoteSecureElementPassWithPrimaryAccountIdentifier(...) method.
  • Added MeaPushProvisioning.ApplePay.canAddRemoteSecureElementPassWithPrimaryAccountNumberSuffix(...) method.
  • Added MeaPushProvisioning.ApplePay.passes() method.
  • Added MeaPushProvisioning.ApplePay.remoteSecureElementPasses() method.

Added

  • Updated internal react-native version to 0.72.5.
  • Raised iOS DEPLOYMENT_TARGET to iOS 12.0.

1.3.1

2023-09-18

Fixed

  • Fixed MeaPushProvisioning.GooglePay.activate() method to send Intent back to Google Wallet.

Added

  • Added an optional configFileName parameter to the MeaPushProvisioning.initialize(...) method.

1.3.0

2023-08-31

Modified

  • ApplePay.registerDataChangedListener notification data now contains a key NSNotificationName with values PKPassLibraryDidChange or PKPassLibraryRemotePaymentPassesDidChange indicating the source of the notification.

Added

  • Added support for Apple Pay Wallet Extensions.
  • Added MeaPushProvisioning.ApplePay.IssuerExtensionHandler abstract class.
  • Added MeaPushProvisioning.ApplePay.IssuerNonUIExtension interface.
  • Added MeaPushProvisioning.ApplePay.IssuerUIExtension interface.
  • Added MeaPushProvisioning.ApplePay.IssuerExtensionStatus interface.
  • Added MeaPushProvisioning.ApplePay.IssuerExtensionPaymentPassEntry interface.
  • Added MeaPushProvisioning.ApplePay.MppAddPaymentPassRequestConfiguration interface.

1.2.1

2023-07-28

Fixed

  • Fixed registerDataChangedListener to handle both PKPassLibraryDidChangeNotification and PKPassLibraryRemotePaymentPassesDidChangeNotification.

1.2.0

2023-06-09

Modified

  • Modified MeaPushProvisioning.GooglePay.getActivationCode(cardData: MppCardDataParameters, walletId?: string, deviceId?: string) method, now it takes two additional arguments - walletId and deviceId.

Added

  • Added MeaPushProvisioning.ApplePay.getActivationData(...) method.
  • Added MeaPushProvisioning.ApplePay.activate(...) method.
  • Added MeaPushProvisioning.ApplePay.secureElementPassWithPrimaryAccountIdentifier(...) method.
  • Added MeaPushProvisioning.ApplePay.secureElementPassWithPrimaryAccountNumberSuffix(...) method.
  • Added MeaPushProvisioning.ApplePay.remoteSecureElementPassWithPrimaryAccountIdentifier(...) method.
  • Added MeaPushProvisioning.ApplePay.remoteSecureElementPassWithPrimaryAccountNumberSuffix(...) method.
  • Added MeaPushProvisioning.GooglePay.activate(...) method.
  • Added MeaPushProvisioning.SamsungPay.getActivationCode(...) method.

1.1.4

2023-03-16

Removed

  • Removed redundant dependencies.

1.1.3

2023-02-16

Fixed

  • Fixed MeaPushProvisioning.ApplePay.canAddSecureElementPassWithPrimaryAccountIdentifier(...) method, now returns correct result when Watch is not paired.
  • Fixed MeaPushProvisioning.ApplePay.canAddPaymentPassWithPrimaryAccountIdentifier(...) method, now returns correct result when Watch is not paired.

Added

  • Added MeaPushProvisioning.ApplePay.presentSecureElementPassWithPrimaryAccountIdentifier(...) method.
  • Added MeaPushProvisioning.ApplePay.presentSecureElementPassWithPrimaryAccountNumberSuffix(...) method.

1.1.1

2022-11-14

Fixed

  • Fixed MeaPushProvisioning.ApplePay.showAddPaymentPassView(...).
  • Fixed AddPassButton appearance.

1.1.0

2022-10-11

Added

  • Added Apple Pay interface.
  • Added MeaPushProvisioning.GooglePay.getAuthenticationCode() method for Google Pay App-to-App verification.

1.0.0

2022-09-09

Public stable version of MPP React Native.