1. Install FID SDK

1.1 Before using

Make sure you have received SDK License from FTech, License is a base64 string.

License with match with your app bundleId, environment (prod or dev) and platform (iOS by default), so if you have a test environment, please request two licenses from FTech team

Any change in bundleId or `environment`, FID will failed to init configs. And DO NOT use Android License for iOS

1.2 Installation with Swift Package Manager

Swift Package Manager (SwiftPM) is a tool for managing the distribution of Swift code as well as C-family dependency. From Xcode 11, SwiftPM got natively integrated with Xcode.

FID SDK support SwiftPM from version 1.2.0. To use SwiftPM, you should use Xcode 11 to open your project. Click File -> Swift Packages -> Add Package Dependency, enter FID repo's URL

https://github.com/FTechMobile/fid-sdk

After select the package, you can choose the dependency type (tagged version, branch or commit). Then Xcode will setup all the stuff for you.

1.3 Make sure installation success

Try to import FTSDK, if success, you can enter next section. If no, contact our support for help

@import FTSDKCoreKit;
@import FTSDK;
@import AppsFlyerLib;

Last updated