The Push SDK requires a license to enable stream ingest. This topic describes how to obtain and integrate the Push SDK license.
All-in-one license
The Push SDK uses the all-in-one license service from ApsaraVideo. This license authorizes multiple software development kits (SDKs) for your app, such as the Push SDK and Queen SDK. The LicenseKey and LicenseFile (certificate file) are the same for all services that use the all-in-one license. You only need to configure them once. Make sure to use the latest certificate file.
Apply for a license
For instructions, see All-in-one license 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 another location. However, you must make sure that the value of
com.aliyun.alivc_license.licensefilein Step 2 matches the path of the license file.Add a <meta-data> node to the AndroidManifest.xml file.
ImportantIf license verification fails after configuration, check whether the <meta-data> node is under the <application> element and whether the name attribute of the <meta-data> node is 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 the specified directory in your Xcode project, and select the current project in Target Membership.

Open Info.plist. Set AlivcLicenseKey to your license key and AlivcLicenseFile to the path of your license file.
Integrate the license on Flutter
Flutter is a cross-platform solution from Google. For Flutter applications, you must integrate the native licenses for each target platform. For more information, see Configure the license on Android or Configure the license on iOS.