Follow the instructions below based on your platform of choice to install the Client Library

📘

For detailed installation, configuration, and integration of specific features head to the Guides section of the website.

Android

  1. Open your project-level build.gradle file.

  2. Add the Maven repository for TIKI Client Library:

    allprojects {
        repositories {
            mavenCentral()
        }
    }
    
  3. Open your app-level build.gradle file.

  4. Add the mytiki Publish Client Library dependency:

    dependencies {
        implementation 'com.mytiki:publish-client:1.0.0'
    }
    
  5. Sync your project with Gradle to ensure the changes are applied.

iOS

  1. Ensure you have CocoaPods installed. If not, install it using the following command:

    sudo gem install cocoapods
    
  2. Navigate to your iOS project directory using the terminal.

  3. Create a Podfile if you don't already have one:

    pod init
    
  4. Open the Podfile and add the mytiki Publish Client Library pod:

    target 'YourApp' do
      pod 'TIKIPublishClient', '~> 1.0.0'
    end
    

    Replace 'YourApp' with the name of your Xcode target.

  5. Save the Podfile and install the dependencies by running:

    pod install
    
  6. Close your Xcode project and open the .xcworkspace file generated by CocoaPods.

Capacitor

  1. Open your terminal.

  2. Navigate to your web application directory.

  3. Install the mytiki Publish Client Library using npm:

    npm install @mytiki/publish-client
    
  4. Once installed, you can import and use the library in your web application code.

Capacitor App

We utilize the Capacitor App library to extract the app ID from the native code, which is then used to register the origin of the records. While this library is common in Capacitor projects, it is not mandatory. If your application does not already include it, please add it using the following command:

npm install @capacitor/app