capacitor-community / barcode-scanner

A fast and efficient (QR) barcode scanner for Capacitor
MIT License
437 stars 172 forks source link

Camera not showing full size on M1 Mac OS by running iPad App #189

Open dodomui opened 1 year ago

dodomui commented 1 year ago

Describe the bug Camera not showing full size on M1 Mac OS by running iPad App

thegnuu commented 1 year ago

Sorry it took me so long, somehow I totally missed this issue...

What exactly are you trying to do? Are you trying to run the App natively on M1 or are you trying to use an IPad emulator?

dodomui commented 1 year ago

Hi in Xcode I had chosen scale interface to match iPad for macOS 10.15 Mac Catalyst and above and show designed for iPad Rum destination on Apple Silicon.

Then while I try to run the App by using M1 MacBook it's work just this plugin doesn't scale the camera screen as the MacBook device screen. You may refer to the photo I had taken below image

thegnuu commented 1 year ago

Are you resizing the app before testing it or are you using the "initial" window size once you start your app?

I am pretty sure that resizing support is not implemented, since this is of course not necessary on iOS/iPadOS devices.

dodomui commented 1 year ago

Are you resizing the app before testing it or are you using the "initial" window size once you start your app?

I am pretty sure that resizing support is not implemented, since this is of course not necessary on iOS/iPadOS devices.

I don't have the M1 MacBook with me right now, so can't test again. Btw, would you consider to implement resizing support? Since it happens can running on MacOS already.