Integrate the BlackBerry AppSecure SDK into your Android app Skip Navigation

Integrate the
BlackBerry AppSecure SDK
into your
Android
app

Use
Gradle
to integrate
BlackBerry AppSecure SDK
into your
Android Studio
project.
  1. In your root-level (project-level)
    Gradle
    file (
    build.gradle
    ), add a rule to include the
    BlackBerry
    Maven repository.
    allprojects { repositories { google() jcenter() maven { url "https://software.download.blackberry.com/repository/maven/" } } }
  2. In the app-level module of your
    Gradle
    file (usually
    app/build.gradle
    ), declare a dependency on the
    BlackBerry AppSecure SDK
    for
    Android
    .
    # BlackBerry Spark SDK implementation 'com.blackberry.security:appsecure:0.7.915.0-beta'
  3. Sync your app to ensure that all dependencies are downloaded.