tencent cloud

Extension Plugins
Last updated:2026-01-30 22:22:21
Extension Plugins
Last updated: 2026-01-30 22:22:21

Overview

During development and usage, many system-authorized APIs require predefined permissions in the iOS project’s info.plist file and the AndroidManifest.xml file on Android. However, your superapp might not need this feature. To avoid unnecessary permissions and reduce the size of the core module, tcmpp_flutter separates these into extension SDKs.
tcmpp_flutter offers both core and extension modules, allowing users to integrate only what they need based on their specific requirements.
Some mini program APIs may require additional privacy permissions. To use these APIs, additional Flutter plugin dependencies are required.
APIs
Plugin names
Required permissions
LBS-related APIs (location and POI search)
Access to location
MDNS APIs
Access to local network
TCP/UDP APIs
Access to network
Media APIs (images and videos)
Access to the image library
Wireless API, Bluetooth API, calendar API, contacts API, clipboard API, biometric authentication API
Wireless API, Bluetooth API, calendar API, contacts API, clipboard API, biometric authentication API
Map APIs
Access to location
Mini game runtime capability
None
Google AdMob ad loading
Access to network
Player Mobile Premium Version
Microphone, access to the images and videos library
Live streaming
Camera and mic permissions
NFC
NFC permissions and capabilities
These plugins must be used together with tcmpp_flutter plugins. Map APIs are required only on Android, and they are included on iOS by default.

Notes on integration

Live streaming and Player Mobile Premium Version plugins

License configuration:
Using Player Mobile Premium Version or live streaming requires a LicenseUrl and LicenseKey to initialize these components properly. If you do not configure the LicenseUrl and LicenseKey correctly, the live streaming and Player Mobile Premium Version features will not work.
Note:
For instructions on how to obtain or renew your LicenseUrl and LicenseKey, see Adding and renewing licenses.
Add customConfig to the project’s tcsas-plugin-settings.json file to complete the license configuration.
Example:
{
// Other configurations
...
// Custom configurations
"customConfig": {
"vodLicenseUrl": "https://1304609156.trtcube-license.cn/license/v2/1304609156_1/v_cube.license",
"vodLicenseKey": "59d8c5e1203bc124a652304ff541a33b",
// Other configurations
...
}
}
Dependency imports:
To use the live streaming and Player Mobile Premium Version plugins, you need to import the corresponding SDK dependencies in your native package. Choose one of the native SDK dependencies below depending on your plugin usage.
Android:
// If you only need to integrate the live streaming component library, use the following lightweight dependency.
implementation 'com.tencent.liteav:LiteAVSDK_Live:latest.release' // For version information, see Tencent Cloud Documentation
// If you only need to integrate the Player Mobile Premium Version component library, use the following lightweight dependency version.
implementation 'com.tencent.liteav:LiteAVSDK_Player_Premium:latest.release' // For version information, see Tencent Cloud Documentation
// If you need to integrate the live streaming component library and Player Mobile Premium Version component library, use the following full dependency versions.
implementation 'com.tencent.liteav:LiteAVSDK_Professional_Player_Premium:latest.release // For version information, see Tencent Cloud Documentation
iOS:
platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs.git'

target 'App' do
// If you only need to integrate the live streaming component library, use the following lightweight dependency.
pod 'TXLiteAVSDK_Live'
// If you only need to integrate Player Mobile Premium Version component library, use the following lightweight dependency version.
pod 'TXLiteAVSDK_Player_Premium'
// If you need to integrate the live streaming component library and Player Mobile Premium Version component library, use the following full dependency versions.
pod 'TXLiteAVSDK_Professional'
end

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback