View on GitHub

sensibill-android-documentation

Installation

Installation via Maven

The primary method of installing the SDK is via Sensibill’s private maven server. All of stable artifacts of the SDK are stored on a private maven server than can only be accessed using an authorized username and password. Contact Sensibill’s Client Services to get an username and password. Once you have maven credentials, adding the following to your project build.gradle will allow access to the private maven.

allprojects{
    repositories {
        maven {
            // Sensibill SDK repository
            url 'https://maven.getsensibill.com'
                credentials {
                    username 'to be provided by sensibill'
                    password 'to be provided by sensibill'
                }
        }
    }
}

In some instances, retrieving artifacts from a maven server may not be a valid option. In this case, contact Sensibill’s Client Services to arrange getting a download link which will contain Sensibill Dependencies for desired version. Download will be a zip file that will contain Sensibill Dependencies and all external dependencies that the SDK relies on. The files must be moved to a maven repository (either your local or hosted maven server).

Sensibill Gradle Dependencies

Once you have access to Sensibill Artifacts, add the SDK to your project is a matter of adding the following dependency to your app level build.gradle

For Full SDK functionality

implementation "com.getsensibill:sensibill-sdk-all:X.X.X"

Note: If you are migrating from a version older than 1.21.1, you no longer need to manually include different Sensibill dependencies and may need to remove Sensibill dependencies other than sensibill-sdk-all