clone the SDK.
git clone https://github.com/Kitsune-tools/ANAAndroidSDK.git
- From the menu bar, click File -> Import Module
- Navigate to the ANAAndroidSDK directory that is contained in the ANAAndroidSDK repo
- Select the ANAAndroidSDK file and click Finish
- Make sure your build.gradle file has
compile project(':ANAAndroidSDK')
underdependencies {}
- Make sure your project build.gradle file has 'allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } }'
- Import the SDK
import com.ana.managers.ChatbotManager;
- Initialize the SDK:
ChatbotManager.getInstance("ACTIVITY_CONTEXT").startChat("URL");