1.13 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. the folder "cordova-plugin-chatbot" from the SVN path : workspace_installer/AppExtensions/ODAChatbot. The frameworks can be found at ODA Client SDK for iOS x.y.z - Latest in https://www.oracle.com/downloads/cloud/amce-downloads.html#license-lightbox . After downloading and unzipping the latest version the frameworks for device and simulator as single file – “BotClientUISDK.xcframework” and “Starscream.xcframework”. Frameworks to be chosen as per the target and pasted inside "cordova-plugin-chatbot".
  2. Copy the folder "cordova-plugin-chatbot" from the SVN path : workspace_installer/Zigbank/plugins. A screenshot of the destination in Finder is attached herewith.

  3. Open the Zigbank.xcodeproj file, right click on "Plugins" folder and select "New Group" option. Name the group as "cordova-plugin-chatbot".

  4. Right click on the newly created group and select "Add files to "Zigbank"" option, and add all the contents of "cordova-plugin-chatbot" folder, pasted previously.

  5. After addition of the files, go to "General" tab for "Zigbank" target and under the "Frameworks, Libraries and Embedded Content" section change the embed type of the frameworks "Starscream.xcframework" and "BotClientUISDK.xcframework" to "Embed and Sign". Failing to do so will make the app crash after installation.