mPaaS supports targetSdkVersion 34 starting from version 10.2.3.54. To upgrade, use the mPaaS plugin to update the SDK to version 10.2.3.54 or later, then follow this guide to adapt your application and run regression tests.
Adapt for targetSdkVersion 34
Prerequisites
Before you begin, make sure your application is adapted for the previous targetSdkVersion versions listed below:
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.gradlefile of the Portal project's main module, set `targetSdkVersion` to 34.The `targetSdkVersion` in the Bundle project does not need to be changed, but it must not exceed the value in the Portal project.
Switch to Blue Shield
Security Guard does not support 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
Make sure to include devices running Android 14 or later in your regression testing.
If you use any of the following components, pay close attention to their functionality during testing:
Component | Validation items |
Message Push Service |
|
H5 Container |
|
Mini Program |
|
Code Scanner |
|
Share |
|
Hotfix |
|