Quickstart
Follow below steps to integrate Terra with your project
Create your product in Terra Console#
- Create and configure your app on Terra Console (the site is under construction so please contact us, we will do it for you)
Installation#
Firstly please refer to Teko repository access guide for instruction to setup the environment.
When the environment is ready, add the below code to import Terra:
- Android
- iOS
- Javascript
- Flutter
For detail installation, please refer Terra installation
Configuration#
Configuration file is required to initialize Terra. To create this file please refer to Create configuration file
Initialize TerraApp#
- Android
- iOS
- Javascript
- Flutter
Initialize TerraApp when your Application starts
appNameparameter is your Product Codeapplicationparameter is the Application instance
In AppDelegate, call TerraApp.configure method to create an instance of TerraApp with config from terra api.
appNameparameter is your Product CodebundleIdparameter helps Xcode choose the right TerraService-Info.plist file in case there are more than one bundle.
appNameparameter is your Product CodeterraConfigdefines which configuration to be used for this app
appNameparameter is your Product Code
Get the TerraApp instance#
TerraApp is used to access various Terra features, to get its instance use:
- Android
- iOS
- Javascript
- Flutter
appNameparameter is your Product Code
appNameparameter is your Product Code
appNameparameter is your Product Code
At this point Terra is successfully setup!