Building With Gradle
To add the SDK to
your Gradle app add the
aar file included with the SDK into a directory
called
aars at the same level as your
libs folder. The name of the directory isn't
important, but if you name it differently you will have to adjust the Gradle
repositories setting shown below.
-
In your
build.gradle file add the
aars folder as a
flatDir
repositories { flatDir { dirs 'aars' } }
-
In your dependencies add the
BoldChatAndroidSDK aar.
dependencies { compile 'com.boldchat.sdk:BoldChatAndroidSDK:1.0@aar' }