Integrate the BlackBerry AppSecure SDK into your Android app
BlackBerry AppSecure SDK
into your Android
appUse
Gradle
to integrate BlackBerry AppSecure 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 AppSecure SDKforAndroid.# BlackBerry Spark SDK implementation 'com.blackberry.security:appsecure:0.7.915.0-beta'
- Sync your app to ensure that all dependencies are downloaded.