segment

tagcommander android sdk

License

License

Unlicense
GroupId

GroupId

com.tagcommander.lib
ArtifactId

ArtifactId

segment
Last Version

Last Version

4.1.2
Release Date

Release Date

Type

Type

aar
Description

Description

segment
tagcommander android sdk
Project URL

Project URL

https://github.com/TagCommander/android/

Download segment

How to add to project

<!-- https://jarcasting.com/artifacts/com.tagcommander.lib/segment/ -->
<dependency>
    <groupId>com.tagcommander.lib</groupId>
    <artifactId>segment</artifactId>
    <version>4.1.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.tagcommander.lib/segment/
implementation 'com.tagcommander.lib:segment:4.1.2'
// https://jarcasting.com/artifacts/com.tagcommander.lib/segment/
implementation ("com.tagcommander.lib:segment:4.1.2")
'com.tagcommander.lib:segment:aar:4.1.2'
<dependency org="com.tagcommander.lib" name="segment" rev="4.1.2">
  <artifact name="segment" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.tagcommander.lib', module='segment', version='4.1.2')
)
libraryDependencies += "com.tagcommander.lib" % "segment" % "4.1.2"
[com.tagcommander.lib/segment "4.1.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

alt tag

Developers' Implementation Guide

Android

Last update : 20/05/2021
Release version : 4

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.

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

Segment : Get your user segmentation from our servers.

Privacy : Pass the Privacy settings to our tag system

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

Latest available versions

Core : 4.6.1

SDK : 4.5.1

Privacy : 4.8.0

IAB : 4.6.0

Partners : 4.5.0

Segment : 4.1.2

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:

:::java
allprojects {
    repositories {
        mavenCentral()
    }
}

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

:::java
implementation 'com.tagcommander.lib:core:4.6.1'

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:

:::java
implementation 'com.tagcommander.lib:SDK:4.5.1'
implementation 'com.tagcommander.lib:segment:4.1.2'

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/TagCommander/Android

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.

:::java
// All the jars.
compile fileTree(dir: 'libs', include: '*.jar')
// Specific files
compile files('libs/TCCore-release-4.6.1.jar')
compile files('libs/TCSDK-release-4.5.1.jar')
compile files('libs/TCSegment-release-4.1.2.jar')
compile files('libs/TCPrivacy-release-4.8.0.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/TagCommander/Android

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:

:::java
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.

:::java
compile (name:'TCCore-release-4.6.1', ext:'aar')
compile (name:'TCSDK-release-4.5.1', ext:'aar')
compile (name:'TCSegment-release-4.1.2', ext:'aar')
compile (name:'TCPrivacy-release-4.8.0', ext:'aar')

Support and contacts

alt tag


Support [email protected]

http://www.commandersact.com

Commanders Act | 3/5 rue Saint Georges - 75009 PARIS - France


This documentation was generated on 20/05/2021 15:59:23

Versions

Version
4.1.2