Start using Acquire
Last updated
Last updated
There are several ways to initialize acquire sdk :
Call this method from an Activity or an Application subclass.
It is recommended to use application subclass for better performance.
Here is a guide to register application class in your manifest file.
Get your Account ID :
You can find your accountID
as shown in image below :
To change default buttons behavior pass as per application requirement.
showVideoButton - Show video button in top tab of chat screen on visitor's main chat messages screen. Default value is set to true.
showAudioButton - Show audio button in top tab of chat screen on visitor's main chat messages screen. Default value is set to true.
We include the INTERNET permission by default as we need it to make network requests :
In the AndroidManifest.xml file.
To make Audio/Video calls camera and record audio permissions are needed so it will ask in marshmallow and above devices. Before marshmallow it is granted by default as mentioned in AndroidManifest.xml.
Audio/video calls will not work if these permissions are not granted.
To share attachments from device Read and Write External Storage permissions are needed so it will ask in marshmallow and above devices. Before marshmallow it is granted by default as mentioned in AndroidManifest.xml.
User will be unable to share attachment if these permissions are not granted.