Skip to main content

API Reference & Changelog

API Reference

MCD SDK Android API Reference: API Reference

Changelog

1.7.2

2024-01-30

Modified

  • Increased cardId length limit to 128.

1.7.1

2023-11-04

Fixed

  • Fixed a potential crash in EasyLaunch clipboard data management.

Added

  • Added EXTRA_IS_SENSITIVE flag to the clipboard metadata (API 33+).

1.7.0

2023-09-27

Added

  • Added MeaCardData.initialize(context, configFileName) method.
  • Added MeaCardData.Configuration.loadConfig(configFileName) method.

1.6.1

2023-06-04

Modified

  • Updated Gradle Plugin to 8.0.0 and JDK JDK17.

Added

  • Added McdCardIdentityProvider.getSecret(McdSecretListener) callback for passing generated card secret asynchronously.

1.6.0

2023-04-20

Added

  • Added MeaCardData.unblockCardPin(...) method.

Modified

  • Improved cardId and cardSecret format validation.
  • Updated compileSdkVersion/targetSdkVersion to API 33 (Android 13).

1.5.0

2023-02-22

Added

  • Added MeaCardData.getCardPinImage(...) method.
  • Added McdCardPinImage interface:
    • getPinImage(...) method returns image with PIN.
    • copyPinToClipboard() method copies PIN to clipboard.
    • clearData() method clears internal PIN data.
    • setOnCardPinClearedListener(...) method sets listener for PIN data wipe event.
  • Added MeaCardData.setCardPin(...) method.

1.4.0

2023-01-20

Added

  • Added MeaCardData.getCardDataImages(...) method.
  • Added McdCardDataImages interface:
    • getPanImage(...) method returns image with PAN.
    • getExpiryImage(...) method returns image with expiry date.
    • getEmbossNameImage(...) method returns image with emboss name.
    • getCvvImage(...) method returns image with CVV.
    • copyPanToClipboard() method copies expiry date to clipboard.
    • copyExpiryToClipboard() method copies PAN to clipboard.
    • copyEmbossNameToClipboard() method emboss name to clipboard.
    • copyCvvToClipboard() method copies CVV to clipboard.
    • setOnCardDataClearedListener(...) method sets listener for card data wipe event.
    • clearData() method clears card data.

1.3.0

2023-01-03

Added

  • Added ability to copy CVV in EasyLaunchCardView.
  • Added customizable layout support for EasyLaunchCardView using Android XML layouts.
  • Added customizable font support for EasyLaunchCardView.
  • Added listeners for EasyLaunchCardView data loading events: setOnCardDataLoadingStartedListener(), setOnCardDataLoadingCompletedListener() and setOnCardDataClearedListener.

1.2.0

2022-06-28

Added

  • Added MeaCardData.Configuration.hash() method to retrieve hash of the loaded configuration file.
  • Added support for EmbossName and Expiry.
  • Added new dependency androidx.constraintlayout:constraintlayout:2.1.3.
  • Added new dependency com.google.android.material:material:1.4.0.
  • Added new dependency com.fasterxml.jackson.core:jackson-core:2.13.3.
  • Added new dependency com.fasterxml.jackson.core:jackson-databind:2.13.3.
  • Added new dependency com.fasterxml.jackson.core:jackson-annotations:2.13.3.

Modified

  • Migrated from original support libraries to androidx.
  • Increased minSdkVersion to API 21.
  • Deprecated method MeaCardData.getCardData(). Use EasyLaunchCardView instead for PCI DSS compliance.

Removed

  • Removed com.google.code.gson:gson dependency.

1.1.0

2021-11-23

Modified

1.0.1

2020-04-28

Removed

  • Removed sensitive data logging in debug builds.

1.0.0

2019-12-19

Removed

  • Removed public access to McdErrorCode class.

0.1.0

2019-10-01

First release candidate version of MCD SDK Android.