Clover Android SDK v248.4 Release Notes
We have recently released version 248.4 of Clover Android SDK.
clover-android-sdk
Data model changes
Order- addedexternalReferenceIdTransactionInfo- addedcardEntryTypeandclientCardType
New features
- The SDK has been migrated to AndroidX
- Two methods were added to
OrderCalc:getTotalBeforeRefundsandgetTaxSummariesBeforeRefunds - Your app can perform needed cleanup tasks before it is uninstalled with the
APP_PRE_UNINSTALLservice intent. - Using the
Platform2class, you can now check if a Clover device has USB ports with theclover.hardware.usb_device_portssystem feature. - The
/scriptsdirectory now contains a Python script that can be used in place of the App Updater app when setting up an emulator. See Emulator setup in Android Studio for complete instructions.
Deprecations
- The
APP_INSTALL_DONEintent has been changed from a service intent to a broadcast intent. Apps using theAPP_INSTALL_DONEintent should be updated to respond to the explicit broadcast.
clover-android-sdk-examples
The following samples have been created or updated for v248.4:
- Added
Platform2DetailsActivity.javato show usage of the USB port system feature - Added example usage of the
APP_INSTALL_DONEbroadcast intent - Added example usage of the
APP_PRE_UNINSTALLservice intent
clover-android-connector-sdk (Payment Connector)
Data model changes
These changes allow Payment Connector apps to pass an invoice, purchase order, or other external identifier with the transaction request.
AuthRequest- addedexternalReferenceIdBaseTransactionRequest- addedexternalReferenceIdManualRefundRequest- addedexternalReferenceIdPreAuthRequest- addedexternalReferenceIdSaleRequest- addedexternalReferenceIdTransactionRequest- addedexternalReferenceId
Updated 11 months ago
