Installation

In order to use Indoorway SDK you need to set up your build script.

Important notes

Packaging bug

Error may occur during project build due to known third-party library (Jackson) bug. It is required to include in application module script below:

android {
  packagingOptions {
    pickFirst 'META-INF/LICENSE'
  }
  // ...
}

Google maven repositiory

In earlier Android Studio versions (pre 3.0) it may be necessary to add Google Maven Repository:

repositories {
    // ... other repositiories
    maven { url 'https://maven.google.com' }
}

Setup

{latest.version} is 2.0.30. You can check another versions on indoorway artifactory.

Module com.indoorway.android:common contains common set of required SDK classes. Librares com.indoorway.android:map, com.indoorway.android:location, com.indoorway.android:qrcode are independend to each other, they can be used separately or linked together. com.indoorway.android:fragments contains map and location.

Gradle

Setup repository:

repositories {
    maven { url 'https://repository.indoorway.com/artifactory/android' }
}

Setup dependencies:

// required for all modules
compile('com.indoorway.android:common:{latest.version}')

// required if you want to use map view
compile('com.indoorway.android:map:{latest.version}')

// required if you want to use indoor positioning
compile('com.indoorway.android:location:{latest.version}')  

// required if you want to use qr codes
compile('com.indoorway.android:qrcode:{latest.version}')  

// required if you want to use fragments
compile('com.indoorway.android:fragments:{latest.version}')