This document provides developers with how to use offline files to complete the installation of the terminal SDK. To obtain the SDK file, you need to contact us.
The SDK provides two types of integrated aar packages, which can be selected according to requirements and function descriptions.
A more compliant version
Complete capability version
Copy the .aar file to the libs directory of the main module and create a libs directory if it does not exist.
Please delete the old version SDK first, and if there are .so files, they also need to be deleted at the same time.
In the build.gradle file under the main module, declare the SDK package dependencies:
dependencies {
implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
...
}TDMobRisk.xcframework , TDCorePlugin.xcframework and FMDeviceManagerFramework.xcframework files into the project directoryCopy items if needed, and check the required Targets. Xcode will automatically add SDK to Linked Frameworks and LibrariesValidate Workspace to YES under TARGETS -> Your project target -> Build Settings -> Build Options (Xcode14 and above versions do not need to be set)-ObjC under TARGETS -> Your project target -> Build Settings -> Linking -> Other Linker FlagsTDCorePlugin.xcframework to Embed & Sign under TARGETS -> Your project target -> General -> Frameworks, Libraries and Embedded ContentFMDeviceManagerFramework.xcframework and TDMobRisk.xcframework to Do Not Embed under TARGETS -> Your project target -> General -> Frameworks, Libraries and Embedded Contentlibresolv.9.tbd in TARGETS -> Your project target -> Build Phases -> Linked Frameworks and Libraries