Example for integration
Field | Type | Description |
configAssetsName | string | Path to the configuration file in Android |
debug | bool | Enable SDK debugging and logging |
enableX5Core | bool | Whether to use Tencent Browsing Service (X5 kernel) as the mini program runtime |
x5LicenseKey | string | Tencent Browsing Service license key if the runtime is enabled |
X5DocLicenseKey | string | Tencent Browsing Service documentation license key if the runtime is enabled |
x5Core32Url | string | Download URL for the 32-bit Tencent Browsing Service runtime |
x5Core64Url | string | Download URL for the 64-bit Tencent Browsing Service runtime |
Field | Type | Description |
configAssetsName | string | Path to the configuration file in iOS |
debug | bool | Enable SDK debugging |
logEnable | bool | Enable SDK logging |
inspectableEnabled | bool | Enable inspectable feature for iOS 16.4 and later, allowing mini program debugging via Safari |
Field | Type | Description |
appName | string | Host app name, mainly for copyright notices in the mini programs |
appVersion | string | Host app version, mainly for copyright notices in the mini programs |
assetPathOfPresets | string | Directory for preloaded offline mini programs, requires a relative path under Flutter assets |
{"android": {"configAssetsName": "tcsas-android-configurations.json","debug": true,"enableX5Core": true,"x5LicenseKey": "","x5DocLicenseKey": "","x5Core32Url": "","x5Core64Url": ""},"ios": {"configAssetsName": "tcsas-ios-configurations.json","debug": true,"logEnable": true,"inspectableEnabled": true},"common":{"appName": "tcmpp-flutter","appVersion": "1.0.0","assetPathOfPresets": "res/offline"}}
minSdkVersion 21
packagingOptions {pickFirst 'lib/arm64-v8a/libc++_shared.so'pickFirst 'lib/armeabi/libc++_shared.so'pickFirst 'lib/armeabi-v7a/libc++_shared.so'pickFirst 'lib/arm64-v8a/libmarsxlog.so'pickFirst 'lib/armeabi/libmarsxlog.so'pickFirst 'lib/armeabi-v7a/libmarsxlog.so'pickFirst 'lib/arm64-v8a/libv8jni.so'}
source 'https://e.coding.net/tcmpp-work/tcmpp/tcmpp-repo.git' source 'https://github.com/CocoaPods/Specs.git'
pod install