Shape Detection API (Barcode Detector)- Safari 18.X

Hi Folks,

do you know what happend with the "shape detection API" feature flag on Safari 18.X (IOs 18.X)?... in previous versions (17.X) i enabled the "shape detection API" feature flag and was able to detect codes like mentioned here... https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API#browser_compatibility

I built a PWA (Service Worker) with Angular 18 and facing this issue immediately after updating to IOS 18.0 (I enabled/disabled the flag, restartet the device several times... no success at all)

Do you have an Idea what changed or how i can enable that feature again?

Thx a lot in advance.. Cheers Martin

Answered by JonathanLangton in 812872022

The shape detection API has been broken since the IOS 18 update. There is a bug report on the webkit forum here: https://bugs.webkit.org/show_bug.cgi?id=281848#c1

Hopefully Apple fixes this soon.

Accepted Answer

The shape detection API has been broken since the IOS 18 update. There is a bug report on the webkit forum here: https://bugs.webkit.org/show_bug.cgi?id=281848#c1

Hopefully Apple fixes this soon.

Shape Detection API (Barcode Detector)- Safari 18.X
 
 
Q