Skip to main content

API Reference & Changelog

API Reference

MTP SDK API Reference: API Reference

Migration from 4.2.x to 4.3.x

info
  • Deprecated method MeaTokenPlatform.isMainProcess(...) as main process check is no longer required and can be removed.

See MTP SDK Initialization.

Migration from 4.1.x to 4.3.x

info

See MTP SDK Initialization.

Changelog

4.3.10

2024-09-23

Fixed

  • Added support for devices configured to use a page size of 16 KB (16 KB devices are available from Android 15).

4.3.9

2024-08-22

Fixed

  • Fixed false positive rooted device errors on Android 15.
  • Fixed rare issues of initializing the SDK on some Poco, Honor, and MI devices.

4.3.8

2023-10-03

Fixed

  • Fixed issue at ATMs for VISA cards.
  • Fixed issue with non-required double authentication prompts.

4.3.7

2023-06-08

Modified

  • Improved payment processing for VISA cards.

4.3.6

2023-05-19

Fixed

  • Fixed access modifier (changed to public) for MeaCardAccountType.

4.3.5

2023-04-25

Fixed

  • Fixed replenishment issue with VISA cards caused by resetting counter values in TVL.

4.3.4

2023-02-08

Modified

  • Improved application signing certificate check.

4.3.3

2023-02-03

Fixed

  • Fixed false debug flag issue on Android 13.

4.3.1

2022-11-17

Added

  • Added option for issuers to agree on a specific SDK configuration of payment app instance identification.

Fixed

  • Fixed false debug flag issue on Huawei devices.

4.3.0

2022-10-18

Added

  • Magisk hide rooting tool detection added.
  • Magisk zygisk rooting tool detection added.

Modified

  • Changed isolated process Magisk check implementation.
  • Removed default payment app check if the current card is set for contactless payments.
  • MeaTokenPlatform.isMainProcess(...) method deprecated.

4.2.7

2022-05-30

Added

Fixed

  • Improved device interactive state handling.

4.2.6

2022-04-21

Fixed

  • Fixed re-digitize flow for Mastercard.
  • Fixed occasional deletion of storage after upgrading to another Android version.

4.2.5

2022-03-16

Fixed

  • Fixed NPE when digitization running in parallel with MTP storage deletion.

4.2.4

2022-03-03

Fixed

  • Fixed crash caused by android.security.KeyStoreException.

Modified

  • Updated Android compileSdkVersion and targetSdkVersion to 31.
  • Updated WorkManager library to version 2.7.1.
  • Updated Huawei HMS services to version 6.2.0.300.
  • Updated auth persister to reset transaction counter on device unlock.

Added

  • Added transaction count policy check for CDCVM with Device Unlock.

4.2.3

2022-01-25

Added

  • Added MeaInitializeDigitizationParameters.withPan(String pan, int expiryMonth, int expiryYear, String cardHolderName) method to initialize digitization with plain text PAN (Mastercard) and E2E encryption (Visa). Method throws MeaException and NotInitializedException exceptions.

4.2.2

2022-01-19

Added

  • Added E2E encryption support for Visa.

4.2.1

2021-10-12 Mastercard Visa

Fixed

  • Fixed MeaTokenPlatform.Rns.isMeaRemoteMessage() method.
  • Fixed a rare exception in DeviceUnlockService.
  • Fixed invalid year issue for Amex.

Added

  • Added card replenishment job trigger on SDK initialization when necessary.
  • Added MeaInitializeDigitizationParameters.withIntent(Intent intent) to initialize digitization parameters with Intent data pushed from MPP app.
  • Added HMS Push Kit support for devices without Google services.

4.2.0

2021-06-11 Mastercard Visa

Modified

  • Updated WspRegisterRequestDataElement to send Push Service provider with push token.
  • Migrated to AndroidX Support libraries.
  • Updated from android.arch.work:work-runtime:1.0.1 to androidx.work:work-runtime:2.3.4.
  • Updated com.google.android.gms:play-services-base dependency from 16.1.0 to 17.2.1.

Added

4.1.9

2021-09-07 Mastercard Visa

Fixed

  • Fixed a rare case exception: Error receiving broadcast Intent { act=android.intent.action.USER_PRESENT }.
  • Fixed LUPC handling issue in Amex engine.

Modified

  • Replenish cards on SDK initialization when necessary.
  • Deprecated method MeaMediaContent.getData().
  • Improved replenish behaviour when token is activated.

Added

  • Added method MeaMediaContent.getBase64DataString().
  • Added MeaErrorCode.SDK_DEPRECATED, MeaErrorCode.APP_UNREGISTERED.

4.1.5

2020-10-05

Fixed

  • Fixed replenish issue for Visa.

4.1.4

2020-09-10

Fixed

  • Fixed device form factor detection.
  • Fixed card provisioning for Visa production cards.

Modified

  • Increased PHONE form factor threshold to 8 inches.

4.1.2

2020-06-30

Fixed

  • Fixed issues for Android 11 Beta.

4.1.0

2020-04-22

Fixed

  • Fixed Keystore operation failed exception.

Added

  • Added MeaTokenPlatform.StepUpAuth.clearCumulativeLvtAmount().
  • Added MeaTokenPlatform.StepUpAuth.getLvtAmountThreshold().
  • Added MeaTokenPlatform.StepUpAuth.getRemainingCumulativeLvtAmount().
  • Added MeaTokenPlatform.StepUpAuth.isStepUpAuthenticated().
  • Added MeaTokenPlatform.StepUpAuth.stepUpAuthenticated().

Removed

  • Removed MeaBooleanListener listener.
  • Removed MeaUser classes and methods.
  • Removed MeaErrorCode.NO_PAYMENT_APPLICATION_INSTANCE_ID error.
  • Removed MeaErrorCode.USER_AUTHENTICATION_ATTEMPTS_EXCEEDED error.
  • Removed MeaErrorCode.USER_AUTHENTICATION_FAILED error.
  • Removed MeaErrorCode.USER_NO_SESSION_TOKEN error.
  • Removed MeaErrorCode.USER_ROLE_NO_PERMISSION error.

4.0.8

2020-03-18

Fixed

  • Fixed crash caused by WorkManager library version incompatibility.

Modified

  • Updated Google GSON library to version 2.8.6.
  • Obfuscation improvements.

4.0.7

2020-02-07

Fixed

  • Correct transaction failure error code 1005 - MeaErrorCode.CARD_NO_PAYMENT_TOKENS is returned when no more transaction credentials left for payments.

Modified

  • Changed MeaTokenPlatform.completeDigitization() method's String termsAndConditionsAssetId parameter Annotation to @Nullable.