Integrate the BlackBerry Spark SDK into your Android app
BlackBerry Spark SDK
into your Android
appUse
Gradle
to integrate BlackBerry Spark SDK
into your Android Studio
project.- In your root-level (project-level)Gradlefile (build.gradle), add a rule to include theBlackBerryMaven repository.allprojects { repositories { google() jcenter() maven { url "https://software.download.blackberry.com/repository/maven/" } } }
- In the app-level module of yourGradlefile (usuallyapp/build.gradle), declare a dependency on theBlackBerry Spark SDKforAndroid.# BlackBerry Spark SDK implementation 'com.blackberry.security:appsecure:0.1+'
- Sync your app to ensure that all dependencies are downloaded.