mPaaS adapted its core components for 16 KB page size in the 10.2.3.global international baseline. To support 16 KB, update the SDK to the latest 10.2.3.global international baseline version using the mPaaS plugin, then adapt your app and run regression tests as described below.
16 KB adaptation
If you use the InstantRun hot patch plugin, upgrade it to version 1.0.8:
dependencies {
classpath "com.mpaas.android.patch:patch-gradle-plugin:1.0.8"
}
Kernel
If you integrated the kernel component, follow the Integrate mPaaS Kernel guide for 16 KB compatibility. Use the following 16 KB-compatible versions for all kernel-related dependencies.
7z decompression support
Version numbers
|
com.mpaas.myweb:mpaasmywebapi-build:1.0.0.260116155841@aar |
Kernel Version |
|
com.mpaas.myweb:mpaasmyweb:1.0.0.260116155841@aar |
|
|
com.mpaas.mriver:mrivermyweb-build:1.0.0.260209143021@aar |
Mini Program Adapter SDK Version |
|
com.mpaas.nebula:nebulamyweb-build:1.0.0.260209103823@aar |
H5 Container Adapter SDK Version |
Release notes
-
Supports 7z decompression.
-
Supports 64-bit architecture detection during decompression.
-
Fixes a Vulkan crash.
-
Remove the existing
nebulaucsdk-builddependency.
Mini program
Nebula mini program
If you integrated an older mini program version, upgrade to the new mini program container by following the Quick Start guide for 16 KB support.
Mriver mini program
The following APIs are not yet 16 KB-compatible. Do not use them.
-
Canvas 2.0-related APIs and components
-
Camera-related APIs
Amap location and map
The Amap Location and Amap Map SDKs in the mPaaS baseline are not 16 KB-compatible. Check whether your app integrates any of these components:
-
Mriver Mini Program
-
Native mini program (private cloud)
-
Mobile Content Delivery Platform
These components depend on the Amap Location or Amap Map SDK. If you do not use location or map features, remove the related dependencies. If you use these features, manually import a 16 KB-compatible version from the official Amap website.
Remove Amap SDK dependencies
Add this configuration to your main module's build.gradle:
configurations.all {
exclude group:'com.mpaas.group.amap', module: 'amap-build'
exclude group:'com.alipay.android.phone.thirdparty', module: 'amap3dmap-build'
exclude group:'com.alipay.android.phone.mobilecommon', module: 'lbs-build'
}
Use the location component
If you integrated the location component, remove the amap-build and amap3dmap-build dependencies as described above, but keep lbs-build.
Import the Amap SDK
Import the latest Amap SDK or another 16 KB-compatible SDK and call the AutoNavi Privacy API.
Remove incompatible components
The following components are not yet 16 KB-compatible. If your app uses them, temporarily remove their dependencies from your build.gradle. Identify them by name or by the .so files they contain:
Ant Cube Card (Magic cube card)
-
libantcrystal.so
-
libnative-cube.so
-
libnative-v8bridge.so
-
libcubedebug.so
-
libiwasm.so
Native mini program (private cloud)
-
libantcrystal.so
-
libnative-cube.so
-
libnative-v8bridge.so
-
libcubedebug.so
-
libiwasm.so
Video player
-
libantplayer-2.0-4x.so
-
libantplayer-netcache.so
-
libantplayerinf-2.0-4x.so
-
libijkffmpeg4x.so
Intelligent Dual-Recording, Intelligent Dual-Recording - Flow Orchestration
-
libsls_producer.so
-
libmnnface.so
-
libmnnhanddetect.so
-
libneonuijni.so
-
libiwasm.so
Human-Machine Dual-Recording
-
libAntAudio_VQE.so
Mobile Gateway Service - H2 plugin, RTMS, and edge intelligence
-
libBifrost.so
-
libzstd.so
Mobile Gateway Service - SM SSL (private cloud)
-
libBifrost.so
-
libzstd.so
F2 Chart Engine
-
libf2.so
Mars Engine (private cloud)
-
libmarsnative.so
Edge Intelligence
-
liboasis_sdk.so
Regression testing
Run full regression tests on devices with a 16 KB page size.
If you use the following components, test their features during regression:
|
Component |
Verification |
|
Mobile Gateway Service/Blue Shield |
|
|
Mriver Mini Program/H5 container/mPaaS kernel |
|
|
Scan/Scan AI |
|
|
Datacenter |
|
|
Secure Storage |
|
|
Audio and Video Call |
|
|
Hotpatch |
|
|
ID Verification (private cloud) |
|
|
OCR (private cloud) |
|
|
Mobile Threat Awareness Platform (private cloud) |
|
|
Terminal Environment Detection (private cloud) |
|
Components that cannot be tested
Social media apps like WeChat have not yet adapted for 16 KB and may crash on 16 KB devices. As a result, mPaaS cannot test the sharing component for 16 KB compatibility.