Obtaining and Installing
Table of contents
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 applicationlibs
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:
- Place the
uSDK.framework
directory into your project directory - In Xcode, click on your project. Then click on the target you want to link to. Finally, click on
Build Phases
. - Expand the
Link Binary With Libraries
section. - Click the
+
- Then click
Add Other
and chooseAdd Files
- Navigate to uSDK.framework directory
- Click
Open