iOS SDK
Last updated
Last updated
Warning!
Please note! We will be not able to receive and show your data without this step!
To connect your iOS app to Appflow.ai console you need to follow 3 steps during onboarding or using Settings=>Applications=>New Application
First step is to download the app token. Download this file and put into the root of your Xcode project. If prompted, select to add the config file to all targets.
The second step is to install SDK. AppflowSDK provides only one integration method for iOS developers: Pass through CocoaPods integrated
Pass through CocoaPods integrated
Save and execute pod install, then open the project with a file suffixed with .xcworkspace.
Notice: Execute pod search AppflowSDK under the command line. If the displayed version of AppflowSDK is not the latest, execute the pod repo update operation to update the content of the local repo. For more information on CocoaPods please see https://cocoapods.org/
The third step is to Initialize SDK and Set it up
Add configuration file
a. Download the appflow-app-token.json file, Add to targets to the project.
b. Select Copy Items if needed.
c. Create groups.
d. Add to targets.
import header file
Import the header file in the project's AppDelegate file
Setup
Enable SDK log (optional)
You can enable SDK log output before initializing the SDK
CALL APIs
To get all info, please, follow the next steps of the release checklist so you will get all data into the dashboard
Note
Please, also follow the next step - adding keys for the RTDN access