Skip to content
On this page

SDK Integration

The Android SDK is provided as an Android archive library file named bnhsdk.aar. Follow the steps below to integrate the SDK into your application.

1. Add the SDK to your Project

The following screenshot is taken from the SDK Sample App.

img

2. Update your Application build.gradle File

Add the following lines to your application build.gradle dependencies section:

dependencies {
    ...
    implementation fileTree(include: ['*.jar'], dir: 'libs') 
    implementation files('libs/bnhsdk.aar') 
}

Note

The instructions above are based on the Android instructions for adding an .aar dependency to your app.