All Products
Search
Document Center

Mobile Platform as a Service:Adapt mPaaS for targetSdkVersion 34

Last Updated:Jan 22, 2026

The mPaaS main integration supports targetSdkVersion 34 starting from version 10.2.3.54. To upgrade your application's targetSdkVersion to 34, use the mPaaS plugin to upgrade the SDK to version 10.2.3.54 or later. Then, follow this guide to adapt your application and perform regression testing.

Adapt for targetSdkVersion 34

Prerequisites

Ensure that your application is already adapted for previous versions of targetSdkVersion. For more information, see the following documents:

Modify targetSdkVersion

AAR connection type

In the build.gradle file of the project's main module, set `targetSdkVersion` to 34.

Portal&Bundle connection type

  • In the build.gradle file of the Portal project's main module, set `targetSdkVersion` to 34.

  • The `targetSdkVersion` in the Bundle project does not require modification. However, its value must not be higher than the version in the Portal project.

Switch to Blue Shield

Security Guard no longer supports targetSdkVersion 34 or later. You must switch to Blue Shield. For more information, see mPaaS 10.2.3: Switching between Security Guard and Blue Shield.

Regression testing

Include devices that run Android 14 or later in the regression testing.

During regression testing, pay close attention to the features of the following components if you use them:

Component

Validation items

Message Push Service

  • Check if notifications are displayed for messages received through self-built channels.

  • Check if messages are pushed correctly through vendor channels.

H5 Container

  • Check if selecting files, images, and videos works correctly.

  • Check if the page works correctly after you switch networks while the page is open.

Mini Program

  • Check if multimedia APIs work correctly.

Code Scanner

  • Check if selecting images from the photo album works correctly.

Share

  • Check if sharing to various platforms works correctly.

Hotfix

  • Check if instantrun hotfix works correctly.

  • Check if dexpatch hotfix works correctly.