Dolphin MOVE SDK
SDK
1.x
1.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
      • React Native
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Services
      • React Native
        • Initialization
        • Services
    • Models
      • MoveAuth
      • MoveConfig
      • MoveConfigurationError
      • MoveDeviceStatus
      • MoveSDKState
      • MoveTripState
      • MoveAuthState
      • Listeners/Callbacks
    • Appendix
      • Android
        • Token refresh
        • Permission Handling
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
  • MOVE Backend
    • MOVE Timeline
    • MOVE State
    • MOVE Last Location
    • MOVE Generic Notifier
    • Open Api Specification
  • Changelog
    • Android
    • iOS
  • Data privacy (GDPR)
Powered by GitBook
On this page
  • Adding the MOVE SDK to your app
  • Include from Artifactory
  • Include SDK binary directly
  1. MOVE SDK
  2. Getting Started
  3. Android

Installation

How to setup the MOVE SDK

PreviousAndroidNextQuick Start

Last updated 3 years ago

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).

You can check for latest releases here:

// 1.0.0 is the given version number from your artifactory
implementation "io.dolphin.move:move-sdk:1.5.1.29"

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://dolphin.jfrog.io/ui/native/move-sdk-libs-release/io/dolphin/move/move-sdk
https://developer.android.com/studio/projects/android-library