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:

  1. Copy ODAPlugin.java from workspace_installer/AppExtension/oda to workspace_installer/zigbank/platforms/android/app/src/main/java/com/ofss/digx/mobile/android/plugins/

  2. Download ODA Android sdk from below link-https://www.oracle.com/downloads/cloud/amce-downloads.html
  3. Add libs folder at zigbank\platforms\android\app and copy below files from downloaded sdk folder in it.
    1. com.oracle.bots.client.sdk.android.core-xx.aar
    2. com.oracle.bots.client.sdk.android.ui-xx.aar


  4. In Android Studio follow below steps-

    File → Project Structure →Dependencies

  5. Click on "+" icon and select JR/AAR Dependency and select app module and click Ok.

  6. Add both .aar file paths from step3. Then click Apply and Ok.



  7. 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>