Getting Started
#
InstallationTracking library is hosted in Teko private repos, for access guide please refer to Teko repository access guide
The library use TerraApp
to manage configuration, so your app must implement TerraApp
first. For guidance please refer here Quick start
Then add following dependency
to your build.gradle.kts
- Android
- iOS
#
Initialize Library- Android
- iOS
#
Setup Common ParametersThere are some common parameters that are tracked in every events. Use below API to set them as soon as your app have the information.
#
Set userIduserId
is a string uniquely identify an user. You can get this from Identify system like Teko IAM Service, or your own identity system. You should pass userId
to tracker lib as soon as you identified the user.
- Android
- iOS
#
Set phone numberThis is optional. Set this value so it will be sent to network.phoneNumber
param in the event.
- Android
- iOS