Init Android SDK

Gotadi SDK Integration Guide for Android

Import Gotadi SDK into an Android Project

2. Import the AndroidGotadiSDK Module into an Android Project

circle-info

3. Add AndroidGotadiSDK Dependencies in build.gradle to Use the Library.

4. Add Maven Repositories for AndroidGotadiSDK in build.gradle to Use SDK Libraries.

Example Code khởi tạo AndroidGotadiSDK

  • Import the SDK Package to Use Functions for Initializing Gotadi Search Book Activity.

  • Initialize GotadiSDK for Performance Optimization

  • Set up the environment before running GotadiActivity.

  • Init setting environment of partner with params:

    • env : deploy environment [uat | prod]

    • partnername: Partner Name , example: “vib”

    • language: Display languages [”vi” | “en”]

    • token: JWT Token obtained after authorization from Gotadi's authentication API.

    • theme : primary, secondary

Last updated