flutter-package / flutter_scan

scanner qrcode in widget tree & decoder qrcode from image
MIT License
80 stars 62 forks source link

The code scanning line of Android 11 cannot move up and down. #15

Closed qifendev closed 2 years ago

qifendev commented 3 years ago

The code scanning line of Android 11 cannot move up and down. It is always on the top and cannot be hidden. Recently, this library is needed. Please solve this problem as soon as possible. However, the IOS platform moves up and down normally. 3DF97DA9522C814723C940013107BCD2

chavesgu commented 2 years ago

I test on Android 11, it work well.

qifendev commented 2 years ago

My phone model is Redmi K30i, and other phones on my side are also normal

qifendev commented 2 years ago

Another problem is that only square blocks are valid in the scan code area. I want to scan the QR code in the full screen.

chavesgu commented 2 years ago

Another problem is that only square blocks are valid in the scan code area. I want to scan the QR code in the full screen.

You should read doc carefully!

qifendev commented 2 years ago

image

This is a square

qifendev commented 2 years ago

image

I mean if you want this QR code, you can also scan it

chavesgu commented 2 years ago

image

I mean if you want this QR code, you can also scan it

No, if set scale 1, there is no square

qifendev commented 2 years ago

image

It becomes like this after setting it to 1

chavesgu commented 2 years ago

yeah correct behaviour

chavesgu commented 2 years ago

scan line animation is still not run?

qifendev commented 2 years ago

I think you can make this square frame better, and then there can be a square frame in the full screen state. Most softwares are like this.

qifendev commented 2 years ago

Running scanline animation is running

chavesgu commented 2 years ago

I think you can make this square frame better, and then there can be a square frame in the full screen state. Most softwares are like this.

why draw square in full mode?

qifendev commented 2 years ago

I come from China, and almost all large-scale software in China is like this

chavesgu commented 2 years ago

你别搞了 你还china 哪个软件全屏扫码 还有框的。。

qifendev commented 2 years ago

有很多的

chavesgu commented 2 years ago

就产品设计来说 全屏的扫码就不应该再去引导用户把码放到框里。。你非要这么玩 你可以自己画一个框。。或者fork一下 实现自己的逻辑

qifendev commented 2 years ago

无所谓了,公司的项目,我是建议你

qifendev commented 2 years ago

我都打开扫码页面了,我的目的一定是扫码,你为什么要让我放到框里扫码