The Push SDK requires a license to enable stream ingest. This guide explains how to get and integrate the license for the Push SDK.
All-in-one license
Alibaba Cloud media services provide an all-in-one license that authorizes access multiple SDKs, such as Push SDK and Queen SDK. Both the license key and file are shared for all supported SKDs and need to be configured just once. Note: Use the latest license file.
Apply for a license
To apply for a license, see Request a license for authorization.
Configure the license
Configure the license on Android
(Recommended) Copy the license file to the assets directory in your Android Studio project.
NoteYou can also copy the license file to a different directory. However, you must make sure the value for
com.aliyun.alivc_license.licensefilein Step 2 points to the correct license file path.Add <meta-data> elements to the AndroidManifest.xml file.
ImportantIf license verification fails after configuration, verify that the <meta-data> elements are inside the <application> element and that their name attributes are correct.

<meta-data android:name="com.aliyun.alivc_license.licensekey" android:value="foIV**************************************"/> <!-- TODO: Set your LicenseKey value --> <meta-data android:name="com.aliyun.alivc_license.licensefile" android:value="assets/cert/release.crt"/> <!-- TODO: Set your LicenseFile path -->
Configure the license on iOS
Copy the license file to a specified directory in your Xcode project and select the current project in Target Membership.

Open Info.plist and update AlivcLicenseKey to your license key and AlivcLicenseFile to your license file path.
Integrate the license on Flutter
Flutter is a cross-platform solution from Google. Integrate the native license separately for each target platform. For detailed steps, refer to Configure the license on Android and iOS.