Skip to content

A handful of classes to help you interact with the Salt Edge API from your Android app

License

Notifications You must be signed in to change notification settings

saltedge/saltedge-android

Repository files navigation

SDK Version

Salt Egde Logo

Salt Edge Android SDK & Sample application

Salt Edge Android SDK provides a handful of classes to help you interact with the Salt Edge API from your Android app.

Current SDK supports access only to Salt Edge API v5.

Salt Edge Partner API is not supported.

When you migrating to the new version of Salt Edge Android SDK, please read carefully CHANGELOG since many changes have been made.

Requirements

  • JDK 8
  • Android SDK (minimal sdk version - Android 4.0.2 (15))
  • Play Services installed
  • App ID and App Secret

Warning! The Salt Edge SDK doesn't work without App ID and App Secret! Note: You can find your App ID and App Secret on your profile page.

Source

Clone this repository

$ git clone git@github.com:saltedge/saltedge-android.git

How to build sample

  1. Fork this repository

  2. Import project as Gradle project in Android Studio

  3. Replace the clientAppId, clientAppSecret constants in SampleApplication.java with your App ID and App Secret.

  4. Build and run application on target device or emulator

Note: You can find your App ID and App Secret on your profile page.

How to add SDK to your project

Add Java 8 support to application build.gradle

android {
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

Add maven repository to application build.gradle

repositories {
    maven {
        url 'https://raw.github.com/saltedge/saltedge-android/master/repo/'
    }
}

Add SDK dependency to application build.gradle

implementation ('com.saltedge.sdk:saltedge-library:X.X.X@aar') {
    transitive = true
}

Useful references

  1. Salt Edge API
  2. Salt Edge Connect Guide

Contacts

For more information, feel free to contact us


Copyright © 2014 Salt Edge Inc. https://www.saltedge.com