2

I have integrated Kommunicate service into my website and added a Dialogflow chatbot into it.

I have added the kommunicate widget successfuly and it worked well with the configurations as shown below:

var kommunicateSettings = {
    "appId":"APP-ID",
    "conversationTitle":"SAMPLE",
};

But when I add the following settings, the widget asks to enter the name and email and when I submit it, the widget disappears with a transparent box with a shadow:

var kommunicateSettings = {
    "appId":"APP-ID",
    "conversationTitle":"SAMPLE",
    "askUserDetails":['name', 'email'],
    "emojilibrary":true,
    "locShare":true
};

It does not show the chat widget now, what to do?

halfer
  • 19,824
  • 17
  • 99
  • 186
Gourav
  • 2,746
  • 5
  • 28
  • 45
  • For what it is worth I just tried it on your site and it was empty for a moment but then it loaded in pretty quickly. Mayne the chat widget is slow to load or there is some other error on the page? – lemieuxster Jan 15 '19 at 14:33
  • @lemieuxster But for me it is not so! It doesn't load even after 10 minutes. – Gourav Jan 15 '19 at 14:35
  • Are there any errors in the development console? What browser are you using? I used Chrome. Are you using anything like an Ad Blocker that might cause it to not load? – lemieuxster Jan 15 '19 at 14:36
  • I am using Kali Linux so I have Firefox. There are no errors in the console but only warnings that are caused by Google Analytics used in the site. – Gourav Jan 15 '19 at 14:37
  • I just tried in the latest Firefox (on Mac) and it also worked there. Have you looked at the network tab? Maybe something is being blocked by a firewall or proxy? Also, there might be a difference between if you are loading it from localhost or something. – lemieuxster Jan 15 '19 at 14:43
  • I have network access, not from localhost. – Gourav Jan 15 '19 at 14:45
  • Please do not add "please help" pleading messages into your questions. It can have [a counterproductive effect](https://meta.stackoverflow.com/questions/366264/how-can-we-encourage-new-authors-to-ask-confident-questions). – halfer Jan 19 '19 at 10:56

1 Answers1

2

The issue was related to askUserDetails parameter. When askUserDetails parameter was passed, it was loading some firefox incompatible CSS which was causing this behavior. Now, this issue is fixed and not reproducible in the latest version of Kommuncate chat SDK.

PS: I work for Kommunicate

Suraj
  • 1,625
  • 1
  • 15
  • 33