capawesome-team / capacitor-mlkit

⚡️ ML Kit plugins for Capacitor. Supports Android and iOS.
https://capawesome.io/plugins/mlkit/
Apache License 2.0
143 stars 39 forks source link

fix(barcode-scanning): incorrect coordinate calculation on iOS #127

Closed robingenz closed 7 months ago

robingenz commented 7 months ago

Pull request checklist

Please check if your PR fulfills the following requirements:

robingenz commented 7 months ago
npm i @capacitor-mlkit/barcode-scanning@5.3.0-dev.b1cf5ce.1708071895
robingenz commented 7 months ago

Android:

iOS:

Viewport Width: Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0) Viewport Height: Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0)

Attention: