According to https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/ondevicechange, the ondevicechange
event is not supported in Chrome Android and Safari iOS.
So is there any alternative or workaround to detect device changes during a session?