All Products
Search
Document Center

Mobile Platform as a Service:mPaaS Adaptation targetSdkVersion 34

Last Updated:Sep 04, 2024

The mPaaS Custom Baseline cp_change_50300875 adds support for targetSdkVersion 34. If your application needs to upgrade the targetSdkVersion to 34, please use the mPaaS plug-in to update the SDK to the cp_change_50300875 baseline version, and perform the following steps to implement the adaptation and regression related functions.

Adapter 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.

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