Link Search Menu Expand Document

Obtaining and Installing

Table of contents
  1. Obtaining and Installing
    1. Downloads location
    2. Installing
      1. Android
      2. iOS

Downloads location

The most recent version of the Android and iOS SDKs can be downloaded here. Currently, the most recent SDK version is 6.5 so it is recommended for use. If an older version is needed, then mSIGNIA administration should be contacted.

Installing

Android

Below is a routine for getting the Android SDK installed in an application.

  • Place the SDK aar into your application libs directory.
  • Add these lines inside the dependencies in the app’s build.gradle file with the actual SDK aar file name instead SDK-6.X.YY:
dependencies {
    ...
    // The SDK
   implementation(name: 'usdk-6.X.YY', ext: 'aar')
   
   // SDK dependencies
   implementation 'com.google.code.gson:gson:2.8.1'
   implementation 'com.google.android.gms:play-services-location:${playServicesVersion}'
   implementation 'com.google.android.gms:play-services-ads-identifier:${playServicesVersion}'
   implementation 'com.google.android.gms:play-services-auth-api-phone:${playServicesVersion}'
   implementation 'com.android.support:appcompat-v7:${supportLibVersion}'
}

You may need to add the libs directory as repository in the app’s build.gradle file if you have not used manual linking before:

repositories {
    flatDir {
        dirs 'libs'
    }
}

iOS

To install the iOS SDK follow these steps:

  1. Place the uSDK.framework directory into your project directory
  2. In Xcode, click on your project. Then click on the target you want to link to. Finally, click on Build Phases.
  3. Expand the Link Binary With Libraries section.
  4. Click the +
  5. Then click Add Other and choose Add Files
  6. Navigate to uSDK.framework directory
  7. Click Open