LiveChat in Cordova

Integrated liveChat in our cordova hybrid app and run well in browser emulation, but get “[LiveChat] Current domain is not added to the allowed domains. LiveChat has been disabled.” when testing on real device (Android).

Tried to add * in Trusted Domain, but no luck too.

Any help? Or simply not supported?

Thanks.

Hi,

I had the same problem and decided to create own java plugin for cordova app. Then, I use java api of LiveChat and everything works fine :slight_smile:

Hey,

It depends on how the Cordova project is configured. I’d recommend to backup all trusted domains and turn off then on https://my.livechatinc.com/settings/trusted-domains.

If it helps to lunch a widget on Cordova, you can recovery your trusted domains. During “recovery”, LiveChat should suggest a domain that can be related to Cordova (e.g. localhost).

Cheers,
Andrii