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
- addedexternalReferenceId
TransactionInfo
- addedcardEntryType
andclientCardType
New features
- The SDK has been migrated to AndroidX
- Two methods were added to
OrderCalc
:getTotalBeforeRefunds
andgetTaxSummariesBeforeRefunds
- Your app can perform needed cleanup tasks before it is uninstalled with the
APP_PRE_UNINSTALL
service intent. - Using the
Platform2
class, you can now check if a Clover device has USB ports with theclover.hardware.usb_device_ports
system feature. - The
/scripts
directory 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_DONE
intent has been changed from a service intent to a broadcast intent. Apps using theAPP_INSTALL_DONE
intent 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.java
to show usage of the USB port system feature - Added example usage of the
APP_INSTALL_DONE
broadcast intent - Added example usage of the
APP_PRE_UNINSTALL
service 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
- addedexternalReferenceId
BaseTransactionRequest
- addedexternalReferenceId
ManualRefundRequest
- addedexternalReferenceId
PreAuthRequest
- addedexternalReferenceId
SaleRequest
- addedexternalReferenceId
TransactionRequest
- addedexternalReferenceId
Updated 4 months ago