If you want to use the lite version then use the below configuration.
1
dependencies {
2
implementation 'io.acquire:lite-beta:1.+'
3
}
Copied!
Register Acquire SDK in the onCreate() method of an Activity/Application where you plan to use the SDK. Use the initialization details provided by the Acquire Support admin and an Application instance:
1
class XYZApp : Application() {
2
override fun onCreate() {
3
super.onCreate()
4
AcquireApp.registerApp(this)
5
}
6
}
Copied!
Initialize Acquire SDK with accountID by using this method.
This method will connect to the Acquire server in the background.
1
AcquireApp.init(accountID)
Copied!
Permissions
We include the INTERNET permission by default as we need it to make network requests: