Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Soham Dasgupta
    Bot Client SDK with Oracle JET Hybrid App
    Topic posted August 29, 2018 by Soham DasguptaGreen Ribbon: 100+ Points, tagged Bots, Messaging 
    841 Views, 3 Comments
    Title:
    Bot Client SDK with Oracle JET Hybrid App
    Summary:
    How to use bot js sdf with JET hybrid app
    Content:

    Hi All,

    I have been trying to integrate a bot into a JET hybrid app. But I ran into a few issues.

    1. According to documentation, after downloading the sdk, I need to run "configure" script. But I have an Windows machine and this script is a bash one. Kind of a show stopper here for me.
    2. According to documentation, I need to host the sdk js files somewhere. Is that mandatory?
      1. I tried actually both, hosting the script folder inside an Apache server and also copying the folder inside my viewModels folder of my JET application. None of them worked. I ran into script loading issues.
      2. Is there any documentation around this?

    Is there anyone ran into similar issues? Or can help me with this?

    Thanks

    Soham

    Comment

     

    • Rohit Dhamija

      Hi Soham,

      For point 1:  A bug is logged for the same, can you please configure the SDK in linux / Mac environment for now.  (May be using a linux vm)

      Before hosting locally or publicly, you will need to configure the SDK ( ./configure) Once the SDK is configured properly, it should work fine.

      Regards,

      Rohit Dhamija

    • Rohit Dhamija

      Also, this might be useful for reference:

      Here is a link  to integrate a chatbot in your JET web application

      http://lucbors.blogspot.com/2018/08/jet-51-how-to-integrate-chatbot-in-your.html 

      Regards,

      Rohit

       

    • Soham Dasgupta

      Hi Rohit,

      Thanks for your reply.

      For #1 : Good suggestion, I am going to try that out.

      For #2 : I already saw Luc's blog, but there he hosts the sdk js files on a server. That works for normal web application, but for hybrid mobile apps, you will run into issues with whitelisting external URL and script loading. Android is still somehow manageable but for iOS it is more difficult, so was looking for documentation from Oracle Product management on this.

      Thanks

      Soham