All Products
Search
Document Center

Mobile Platform as a Service:Adapt mPaaS to targetSdkVersion 34

Last Updated:Mar 11, 2025

The mPaaS main integration has added the support for targetSdkVersion 34 since version 10.2.3.54 and above. If your app needs to upgrade targetSdkVersion to 34, please use the mPaaS plugin to upgrade the SDK to version 10.2.3.54 and above, and follow the steps below to adapt and regress related functions.

Adapt to targetSdkVersion 34

Prerequisites

Please refer to the following documents to ensure that your application has completed the adaptation of targetSdkVersion old version:

Modify targetSdkVersion

AAR access mode

Modify the attribute targetSdkVersion 34 in the build.gradle file under the main module of the project.

Portal&Bundle access method

  • Modify the attribute targetSdkVersion 34 in the build.gradle file under the main module of the Portal project.

  • The targetSdkVersion in the Bundle project may not be modified, but may not be higher than the version of the Portal project.

Switch to Blue Shield

Wireless Security Guard no longer supports targetSdkVersion 34 and above, and needs to be switched to Blue Shield. For switching to Blue Shield, please refer to Step 4 mPaaS 10.2.3 Support Wireless Security Guard&Blue Shield Switch (Optional).

Regression testing

The devices for the full regression test must include devices with Android 14 or later.

In regression testing, you need to focus on the following component features (if used):

Component

Verification Item

message push

  • Whether the self-built channel can display notifications after receiving messages

  • Whether the vendor channel pushes messages normally

H5 container

  • Select whether files, images, and videos are normal.

  • Switch network when the page is opened, whether the page is normal

Mini programs

  • Whether the multimedia API is normal

Scan QR Code

  • Is it normal to select pictures for the album?

Share

  • Is it normal to share to each platform?

Hotfix

  • Whether instantrun hotfix is normal

  • Dextatch hotfix is normal