Skip to main content

API Reference & Changelog

API Reference

MCD SDK iOS API Reference: API Reference

Changelog

1.8.2

2024-03-27

Fixed

  • Fixed error handling.

Modified

  • Built with iphoneos17.4.

Added

  • Added privacy manifest.
  • Added code signature.

1.8.1

2024-01-30

Modified

  • Increased cardId length limit to 128.
  • Built with iphoneos17.2.

1.8.0

2023-09-27

Added

  • Added MeaCardData.loadConfig(configFileName) method.
  • Raised DEPLOYMENT_TARGET target to 12.0.

Modified

  • Built with iphoneos17.0.

1.7.1

2023-06-04

Added

  • Added McdEasyLaunchCardView.secretGeneratorWithCompletion block for passing generated card secret asynchronously.

1.7.0

2023-04-20

Modified

  • Improved cardId and cardSecret format validation.

Added

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

1.6.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.
    • cardPinClearedBlock property sets handler for card PIN data wipe event.
  • Added MeaCardData.setCardPin(...) method.

1.5.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.
    • cardDataClearedBlock property sets handler for card data wipe event.
    • clearData() method clears card data.

1.4.0

2023-01-03

Added

  • Added ability to copy CVV in McdEasyLaunchCardView.
  • Added customizable McdEasyLaunchCardView.layout property for XIB (XML Interface Builder) custom card layouts.
  • Added customizable EasyLaunch card font properties - new McdEasyLaunchCardView.font, and Interface Builder McdEasyLaunchCardView.fontSize, McdEasyLaunchCardView.fontName.
  • Added listeners for McdEasyLaunchCardView data loading events cardDataLoadingStartedBlock, cardDataLoadingCompletedBlock and cardDataClearedBlock.
  • Added McdEasyLaunchCardView.cardTapBlock property.
  • Added McdEasyLaunchCardView.cardLongPressBlock property.

Modified

  • Built with iphoneos16.2.

Deprecated

  • Deprecated McdEasyLaunchCardView.onCardClick property.
  • Deprecated McdEasyLaunchCardView.onCardLongClick property.

1.3.1

2022-08-24

Modified

  • Exception is thrown when configuration file is missing and cannot be loaded.

1.3.0

2022-06-28

Added

  • Added MeaCardData.getConfigHash() method to retrieve hash of the loaded configuration file.
  • Added McdEasyLaunchCardView.

Modified

  • Built with iphoneos15.5.
  • Deprecated method MeaCardData.getCardData(). Use McdEasyLaunchCardView instead for PCI DSS compliance.

1.2.0

2021-11-23

Modified

1.1.0

2021-11-22

Added

  • Added arm64 to iphonesimulator target.

Modified

  • Built with iOS SDK 15.0.

1.0.0

2020-04-28

Modified

  • Improved response parsing.

0.1.2

2020-03-18

Modified

  • Built with iOS SDK 13.2.

0.1.0

2019-10-23

First version of MCD SDK iOS.