Integrate the BlackBerry Dynamics SDK using Gradle Skip Navigation

Integrate the
BlackBerry Dynamics SDK
using
Gradle

  1. In your project level
    Gradle
    file (build.gradle), add the following 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 (app/build.gradle), declare the following dependency on the
    BlackBerry Dynamics SDK
    :
    # BlackBerry Dynamics SDK implementation 'com.blackberry.blackberrydynamics:android_handheld_platform:10.0+' implementation 'com.blackberry.blackberrydynamics:android_handheld_resources:10.0+' implementation 'com.blackberry.blackberrydynamics:android_handheld_backup_support:10.0+' # Optional implementation 'com.blackberry.blackberrydynamics:android_handheld_blackberry_protect_support: 10.0+'
  3. Sync the app to download all of the required dependencies.