This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9c47d2
commit 35de4f1
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ANAAndroidSDK | ||
|
||
### Steps To Integrate | ||
|
||
#### Step 1: Download Mobile SDK | ||
|
||
clone the SDK. | ||
```bash | ||
git clone https://github.com/Kitsune-tools/ANAAndroidSDK.git | ||
``` | ||
|
||
### Step 2: Importing to Android Studio | ||
|
||
1. From the menu bar, click **File -> Import Module** | ||
2. Navigate to the **ANAAndroidSDK** directory that is contained in the **ANAAndroidSDK** repo | ||
3. Select the **ANAAndroidSDK** file and click Finish | ||
4. Make sure your **build.gradle** file has `compile project(':ANAAndroidSDK')` under `dependencies {}` | ||
5. Make sure your project **build.gradle** file has | ||
'allprojects { | ||
repositories { | ||
jcenter() | ||
maven { url "https://jitpack.io" } | ||
} | ||
}' | ||
|
||
### Step 3: Integrate ANA SDK with your app | ||
|
||
1. Import the SDK | ||
`import com.ana.managers.ChatbotManager;` | ||
2. Initialize the SDK: `ChatbotManager.getInstance("ACTIVITY_CONTEXT").startChat("URL");` |