Chat won't load in Android WebView

It’s running correctly on my site, but when I try to use view it on my Android app I get this error in the debug console:

Access to fetch at ‘https://va.tawk.to/v1/session/start’ from origin ‘https://www.*****.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

Any ideas? I tried adding
Header set Access-Control-Allow-Origin “*”
so my htaccess, but no luck.

Hi,

Just to confirm—are you accessing your website through a mobile browser or a mobile app? Additionally, could you please share your website URL so we can take a closer look?

Thanks, and we look forward to assisting you further!

Hello,

Yes I’m trying to use it via an Android WebView app. It works without issue on the main website.

I would include the link but this form gives me an error “Sorry, you can’t include links in your posts”

Hi,

Thanks for reaching out. In this case, I suggest booking a call with one of our team members to investigate this.
Please schedule a call with our technical team here: [Calendly]

Please note that times are shown in 24-hour format, and meetings will be held on Zoom.

I’ll do that, thanks for you’re time.

1 Like