livechat / chat-window-android

LiveChat mobile chat window for Android
https://developers.livechatinc.com/mobile/android/
MIT License
23 stars 28 forks source link

Live chat showing the "Couldn't load chat" when running application in android #80

Open variyanirav opened 1 year ago

variyanirav commented 1 year ago

I have tried to implement Livechat using this documentation but when I try to start the live chat its showing below error,

Android: minSdkVersion 21 targetSdkVersion 33

Screenshot_1686829947

Does any one have idea? what I am doing wrong here?

tosam144 commented 1 year ago

I have exactly the same problem. In logcat I see:

onConsoleMessageERROR Uncaught TypeError: t.includes is not a function

[INFO:CONSOLE(2)] "Uncaught TypeError: t.includes is not a function", source: https://cdn.livechatinc.com/widget/static/js/iframe.06561787.chunk.js (2)

Any idea?

nomyzs commented 2 months ago

Thanks for reporting, we will look into it.

It's possible, these errors are non-critical and wouldn't prevent the chat from working.

While we look into errors, you can try setting up EventsListener and ignoring some of them by returning true in onError callback. This should prevent "Couldn't load chat." from showing and possibly keep the chat window operational