benedikt-buchert / AndroidV5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt tag

Developers' Implementation Guide

Android

Last update : 20/04/2023
Release version : 5

Introduction

TagCommander for mobile is a collection of small SDKs each designed to serve a dedicated purpose. The modules are the following :

Core : Used as a base by the other modules.

ServerSide : Tag management system collecting data through a server-side approach.

Segment : Get your user segmentation from our servers.

Consent : Pass the Consent settings to our tag system

For each of those modules, please check their respective documentation for more information.

Latest available versions

Core : 5.3.2

ServerSide : 5.4.1

Consent : 5.2.3

IAB : 5.0.0

Partners : 5.0.0

Segment : 5.0.0

Adding a module to your project

If you want to add a module to your android project, you have several possibilities.

- Using mavenCentral to manage the dependency.
- Using directly the jar in your project.
- Using the aar file in your project.

All of them will require you to modify a bit your build.gradle.

mavenCentral

The easiest way is to go with mavenCentral. It will help you get updates on the module on a regular basis without doing much work.

/!\ The IAB module is not on mavenCentral yet, so it will need to be added manually with the aar or jar.

If it's not present in your project's build.gradle add mavenCentral() in the repository list for the dependency management. It will look something like that:

allprojects {
    repositories {
        mavenCentral()
    }
}

Then in your application's build.gradle always add the core module:

implementation 'com.tagcommander.lib:core:5.3.2'

And in addition to the core module you can add the other modules you need the same way. See each module's documentation for more specific information.

For example:

implementation 'com.tagcommander.lib:ServerSide:5.4.1'
implementation 'com.tagcommander.lib:segment:5.0.0'

Jar file

If you'd rather use the jar files directly in your project, you can get them from our github account: https://github.com/CommandersAct/AndroidV5

You will always need to at least add the Core module to your project.

After you downloaded the modules you need, add them to your libs folder and either ask gradle to compile with all the jars in your lib directory or directly with the chosen files.

// All the jars.
compile fileTree(dir: 'libs', include: '*.jar')
// Specific files
compile files('libs/TCCore-release-5.3.2.jar')
compile files('libs/TCServerSide-release-5.4.1.jar')
compile files('libs/TCSegment-release-5.0.0.jar')
compile files('libs/TCConsent-release-5.2.3.jar')

Aar file

If you'd rather use the aar files directly in your project, you can get them from our github account: https://github.com/CommandersAct/AndroidV5

You will always need to at least add the Core module to your project.

To be able to compile with the aar files, you will first need to tell gradle how to use them properly. In your project's build.gradle complete your repository list with 'flatDir' list in the following exemple:

allprojects {
    repositories {
        mavenCentral()
        flatDir {
            dirs 'libs'
        }
    }
}

After you downloaded the modules you need, add them to your libs folder and ask gradle to compile with them.

compile (name:'TCCore-release-5.3.2', ext:'aar')
compile (name:'TCServerSide-release-5.4.1', ext:'aar')
compile (name:'TCSegment-release-5.0.0', ext:'aar')
compile (name:'TCConsent-release-5.2.3', ext:'aar')

Support and contacts

alt tag


Support support@commandersact.com

http://www.commandersact.com

Commanders Act | 7b rue taylor - 75010 PARIS - France


This documentation was generated on 20/04/2023 11:12:12

About

License:Other