8 ODA Chatbot Inclusion
This topic describes the systematic instruction to ODA Chatbot Inclusion option.
To enable ODA Chatbot services in the mobile app, the following changes needs to be made:
- Copy ODAPlugin.java from
workspace_installer/AppExtension/odatoworkspace_installer/zigbank/platforms/android/app/src/main/java/com/ofss/digx/mobile/android/plugins/ - Download ODA Android sdk from below link-https://www.oracle.com/downloads/cloud/amce-downloads.html
- Add libs folder at zigbank\platforms\android\app and copy below
files from downloaded sdk folder in it.
- com.oracle.bots.client.sdk.android.core-xx.aar
- com.oracle.bots.client.sdk.android.ui-xx.aar
- In Android Studio follow below steps-
File → Project Structure →Dependencies
- Click on "+" icon and select JR/AAR Dependency and
select app module and click Ok.
- Add both .aar file paths from step3. Then click
Apply and Ok.
- Add Chatbot ID and Chatbot URL in app.properties.xml
(
zigbank\platforms\android\customizations\src\main\res\values)<string name="CHATBOT_ID">@@CHATBOT_ID</string>
<string name="CHATBOT_URL">@@CHATBOT_URL</string>




