Alipay+ DocsAlipay+ Docs

Android SDK release notes

Version 2.44.0

Release date: May 31, 2023

This release contains the following new features.

New features

  • Supports playing streaming videos on mini program.
  • Added the subcategory parameter to the fetchAppInfoListbykeyword JSAPI for mini program.

Version 2.43.0

Release date: May 12, 2023

This release contains the following enhancements, fixed bugs, and upgrade considerations.

Enhancements

  • Added the redirectRequestId parameter in the Intent response after auto debit fails and top-up succeeds for Google.

Fixed bugs

  • Fixed an issue that the CN entry code cannot be processed by SDK in some scenarios.

Upgrade considerations

To allow users to make instant payments when they see Alipay logo in mainland China, it is recommended that you enable access to HTTP URLs when upgrading the SDK version. Consequently, users can complete the payment smoothly when scanning the entry code provided by merchants or ISV in mainland China.

Version 2.42.0

Release date: April 27, 2023

This release contains the following enhancements and fixed bugs.

Enhancements

  • Added the redirectUrl parameter in the acDecodeConfig file to support the redirection of ZeroPay and country codes in the Merchant-presented Mode Payment scenario. ZeroPay and country codes do not support the HTTP protocol.
  • Updated the payment code generation API and cache strategy to include the region parameter according to the updates made on the server side. This update is for the User-presented Mode Payment scenario.

Fixed bugs

  • Fixed an issue that the src attribute of the video source does not take effect.
  • Fixed an issue where downloadFile JSAPI failed to be downloaded when the URL passed in was too long.

Version 2.41.0

Release date: March 30, 2023

This release contains the following new features, enhancements, and fixed bugs.

New features

  • Supports obtaining the authorization code on WAP pages by using the getAuthCode JSAPI in the Merchant-presented Mode Payment scenario.

Enhancements

  • Improved the user experience by speeding up the payment process in the Merchant-presented Mode Payment and User-presented Mode Payment scenarios.

Fixed bugs

  • Fixed an issue that the PWA (Progressive Web App) cannot be opened due to signature verification.

Version 2.40.2

Release date: March 7, 2023

This release contains the following fixed bugs.

Fixed bugs

  • Fixed an issue that ANR (Application Not Responding) occurs occasionally when the video is playing.

Version 2.40.0

Release date: March 6, 2023

This release contains the following new features, enhancements, and fixed bugs.

New features

  • Added the createFragment4Url API that supports opening offline packages or WAP pages by Fragment.
  • Added the <video> tag, which allows the mini program to play H.264-encoded MP4 short videos, and the recommended playback time is within one hour.

Enhancements

  • Optimized the low version of Android mini program to narrow down the OOM (Out of Memory) issues when creating threads.

Fixed bugs

  • Fixed NullPointerException in creating Activity.

Version 2.39.0

Release date: February 7, 2023

This release contains the following new features, enhancements, and fixed bugs.

New features

  • Upgraded the security level, for example, some HTTP links have been upgraded to HTTPS.
  • Added the limitation on the to-be-loaded image size:
    • Images that are no larger than 5 MB are loaded as original.
    • Images that are larger than 5 MB are loaded after compression.

Enhancements

  • Optimized the display logic of the navigation bar theme for mini program and WAP page. When the transparentTitle property is set to auto or always, the color of titles and buttons on the navigation bar can be adjusted automatically according to the background color of the navigation bar.
  • Added the flowType parameter in the tradePay JSAPI. When the value of the flowType parameter is specified as local or a+, the tradePay JSAPI can be called locally or in the Alipay+ network.

Fixed bugs

  • Fixed the crash issue that may be caused by loading high-resolution images.
  • Fixed the exception request issue when trying to obtain the Gateway appId parameter of the mini program. When the SDK is initialized with JSON configuration that does not synchronize the appId parameter to the global variable, an exception request occurs in the scenarios of obtaining the gateway appId parameter, for example, an exception request occurs when getting a mini program's package.
  • Fixed an issue that the classification information is missing when fetching the list of mini program.

Version 2.38.9

Release date: February 7, 2023

This release contains the following fixed bugs.

Fixed bugs

  • Fixed an issue that the general error page is mistakenly displayed on the WAP page when the HTTP 404 is returned.
  • Fixed an issue that the classification information is missing when fetching the list of mini program.

Version 2.38.4

Release date: January 18, 2023

This release contains the following enhancements.

Enhancements

Adapted this SDK to Android 13, for example:

  • Storage permissions
  • System API changes
  • Features to avoid potential crash issues caused by compatibility

Version 2.38.3

Release date: January 5, 2023

This release contains the following enhancements and fixed bugs.

Enhancements

  • Optimized security level.
  • Amended image loading standard.

Fixed bugs

  • Fixed the crash issue caused by an unavailable web view.