AppTapp / Installer-Issues

A repository to report issues with Installer 5
39 stars 3 forks source link

**Describe the bug** #223

Closed lafi-99 closed 2 years ago

lafi-99 commented 2 years ago

Describe the bug

window.AudioContext isn't defined on versions of desktop Safari prior to 14.1 and Mobile Safari prior to 14.5 MDN. The older versions use the prefixed form instead: window.webkitAudioContext.

The problem is that installing Chatwoot on a page means every user interaction will cause a console error.

image

To Reproduce

On older versions of Safari prior to 14.1 for desktop or 14.5 for mobile, evaluate:

window.AudioContext

Expected behavior

No error.

Browser logs

The error appears for every user interaction on the page.

ReferenceError: Can't find variable: AudioContext
image

Environment

I'm using Chatwoot Cloud but this issue is independent of the installation.

Desktop (please complete the following information):

Additional context

Related threads:

Add any other context about the problem here.

Originally posted by @jschaf in https://github.com/chatwoot/chatwoot/issues/4942

vanwijkdave commented 2 years ago

Closed due to not relevant for Installer?