SDK Download and Integration
Downloading SDK
Tencent Cloud EdgeOne QUIC SDK supports iOS and Android operating systems.
Android Download ZIP
iOS Download ZIP
Directions
1. Environment requirements:
Android Studio 2.0+
Android 5.0 (SDK API level 21) or above
2. Download
TQUIC_Android_SDK.zip
and compress the package. Copy the AAR
file to the project directory (app/libs).3. Include sdk and okhttp dependencies in the build.gradle file.
dependencies {...implementation fileTree(dir: 'libs', include: ['*.aar']) //Add the *.aar file.implementation 'com.squareup.okhttp3:okhttp:3.11.0' //Add the okhttp dependencies.}
4. Configure permissions in
AndroidManifest.xml
. The QUIC SDK requires the following permissions:<uses-permission android:name="android.permission.INTERNET" />
1. Environment requirements:
Xcode 10.0+
iPhone or iPad on iOS 10.0 or above
A valid developer signature for your project
2. Download
TQUIC_iOS_SDK.zip
and compress the package. Copy the framework
file to the project directory.3. Import TQUICiOS.framework and Tquic.framework to XCode.
Note
Tquic.framework is a dynamic library and needs to be embedded and signed.
4. Add
-ObjC, -l"c++”
to the compilation option Other Linker Flags.