Skip to content

2.3.1

Choose a tag to compare

@matheuskiser matheuskiser released this 10 Nov 20:46
· 16 commits to main since this release
bc1629b

Android Mobile Payments SDK 2.3.1

  • The Mobile Payments SDK now supports Android API 35.
  • The minSdkVersion for Mobile Payments SDK applications is now is API 28 (Android 9) or later.
  • To comply with data privacy laws, merchants in Canada, the United Kingdom, and the European Union must grant or deny consent for analytics and performance tracking
  • by Mobile Payments SDK applications.

Settings Manager

  • New field- trackingConsentState. Returns the current consent state for the authorized Square merchant. The options are:
    • PENDING
    • GRANTED
    • DENIED
    • NOT_REQUIRED
  • New method - updateTrackingConsent(granted: Boolean). Log whether merchants using your application have granted or denied consent for performance and analytics tracking. If this method is not used, and a payment is made in a country requiring consent, the first payment prompts the user for permission.
  • New PaymentErrorCode - CONSENT_NOT_PROVIDED. This error appears if you use a custom payment prompt UI for merchants in regions requiring consent for performance tracking without explicitly granting or denying consent via the API.
  • This release also includes improvements to accessibility and Tap to Pay on Android.

Release announcement

https://developer.squareup.com/docs/changelog/mobile-logs/2025-09-08#android-mobile-payments-sdk-231