Installation

Getting Started / Android

Adding the MOVE SDK to your app

There are two possible ways to integrate the MOVE SDK:

  1. Include from an Artifactory

  2. Include binaries directly into your app

Include from Artifactory

Include the maven repository to your gradle build script where the MOVE SDK package is located.

maven { 
    url "https://dolphin.jfrog.io/artifactory/move-sdk-libs-release" 
}

Add the dependency for the MOVE SDK Android library to your module (app-level) Gradle file (usually app/build.gradle).

// Include the latest version number of our artifactory e.g. 2...
implementation "io.dolphin.move:move-sdk:w.x.y.zzz"

Include SDK binary directly

The SDK may be shipped as an AAR library directly. Place the library in a "libs" folder of your application module. If there is no libs folder, you must create it first.

Once the library is placed in the correct folder, the app build file needs to be adapted as shown below. After a Gradle sync, the MOVE SDK should be ready to use.

app build.gradle
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
    ...
}

You may also include the binaries directly into your own Artifactory. Then you are able to use the Artifactory solution from above.

More information about AAR libraries can be found here: https://developer.android.com/studio/projects/android-library

Last updated