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)
#
InstallationFirstly 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
#
ConfigurationConfiguration 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
appName
parameter is your Product Codeapplication
parameter is the Application instance
In AppDelegate, call TerraApp.configure method to create an instance of TerraApp with config from terra api.
appName
parameter is your Product CodebundleId
parameter helps Xcode choose the right TerraService-Info.plist file in case there are more than one bundle.
appName
parameter is your Product CodeterraConfig
defines which configuration to be used for this app
appName
parameter is your Product Code
#
Get the TerraApp instanceTerraApp
is used to access various Terra features, to get its instance use:
- Android
- iOS
- Javascript
- Flutter
appName
parameter is your Product Code
appName
parameter is your Product Code
appName
parameter is your Product Code
At this point Terra
is successfully setup!