ha-tdv-bar
ha-tdv-bar copied to clipboard
Fails to render on iOS 14.6
The component fails to render with the following error:
Can't find variable BroadcastChannel.
I've an older iPad running the latest Companion App, also tested in default Safari. My iOS version is 14.6.
BroadcastChannel
only supported in Safari from 15.4 and up. reference
I'm suggesting adding a polyfill or switching to a non-native version: https://github.com/JSmith01/broadcastchannel-polyfill https://github.com/pubkey/broadcast-channel
I have not checked the code thoroughly and asking just from curiosity, where do you use BroadcastChannels?