To integrate BEAR SDK in your Android Studio project, you must proceed as follows:
- Configure the project’s
build.gradle
file to access the maven repository of the BEAR SDK using the following credentials
allprojects {
repositories {
…
maven { url 'https://s3-eu-west-1.amazonaws.com/mobile-dev.bear2b.com/bearsdk' }
}
}
- Add the BEAR SDK dependency in the
build.gradle
file of your application package (x.x.x being the BEAR SDK version number, see sample app release history to check the latest version)
dependencies {
…
implementation(‘com.bear:bearsdk:x.x.x@aar’) {
transitive = true
}
}