Third-party library dependencies

The Android IAPMiniProgram SDK uses multiple third-party libraries to enhance functionalities and capabilities. These dependencies are included in the super app via transitive dependency and might encounter library version conflicts with other SDKs or the super app. To ensure the proper functioning of the super app, it is recommended to follow these guidelines:

  • Use the latest available library version listed in different requirements in case of version conflicts
  • Thoroughly test your app despite the compiler's ability to automatically handle version conflicts.

This topic introduces the third-party libraries used in the Android IAPMiniProgram SDK and their respective version requirements. If you have any questions or inquiries about the usage of these third-party libraries, contact our technical support at overseas_support@service.alibaba.com.

Public dependencies

The following table lists the public dependencies of the third-party libraries used in IAPMiniProgram SDK:

Library name

Package name

Required minimum version

gson

com.google.code.gson:gson

2.8.5

fastjson

com.alibaba:fastjson

1.1.70.android

appcompat

androidx.appcompat:appcompat

1.0.0

material

com.google.android.material

1.0.0

viewpager2

androidx.viewpage2:viewpager2

1.0.0

Dependencies of the Map component

If you integrate the Map component in your IAPMiniProgram SDK, the following third-party library dependencies are used:

  • Google map dependencies
  • HUAWEI map dependencies

Google map

Library name

Package name

Required minimum version

play-services-maps

com.google.android:play-services-maps

18.1.0

play-services-location

com.google.android.gms:play-services-location

21.0.1

android-map-utils

com.google.maps.android:android-maps-utils

0.5

places

com.google.android.libraries.place:place

3.1.0

Reference: Integrate the Google Map component

HUAWEI map

Library name

Package name

Required minimum version

maps

com.huawei.hms:maps

6.11.2.301

maps-basic

com.huawei.hms:maps-basic

6.11.2.301

location

com.huawei.hms:location

6.4.0.300

navisdk

com.huawei.hms:navisdk

6.12.0.300

site

com.huawei.hms:site

6.5.1.302

Reference: Integrate the HUAWEI Map component

Dependencies of the Livestreaming component

If you integrate the Livestreaming component in your IAPMiniProgram SDK, the following third-party library dependencies are used:

Library name

Package name

Required minimum version

ijkplayer

tv.danmaku.ijk.media:ijkplayer-java

0.8.8