Camera component not working on Safari for deployed web app


We are using the camera component for taking photos for our web apps.
This works perfectly in Chrome but is failing in Safari with error:

Unhandled Promise Rejection: ReferenceError: Can’t find variable: ImageCapture

I think Image Capture isn’t supported on Safari, judging by this stack overflow article:

Is there any workaround for this?