BUG: Embedded scanner not working on iPhone x

I am building a small mobile app using the embedded barcode scanner - the app does lots of scans in a row (with some feedback).

The scanner works fine on my laptop (using built-in camera), as you can see from the scan counter (9) in the Retool IDE.

On my phone (iPhone X), the scan event doesn't trigger (0 scan events).

If I switch to full-screen scanner, the scan events are triggered on my iPhone.

Hi @hansontools,

Thanks for reaching out! I haven't been able to reproduce this yet :thinking: I'm wondering if it is related to the app structure. Any chance you can share an app export?

Set the embedded scanner's ratio to 2:1 and it'll stop working.
Reverting to 1:1 makes it work again.

Embedded scan test.json (6.6 KB)

Oh interesting! Thanks, taking a look

Hi @hansontools still looking into this, but I wanted to provide an update in case it helps in the meantime. We tested this app with an iPhone X, and it worked after moving the barcode further back from the camera. When the barcode is very close to the camera, it doesn't scan consistently