RafaelBarbosatec / qr_code_dart_scan

A QR code scanner that works on both iOS and Android using dart decoder.
MIT License
15 stars 20 forks source link

Please support for desktop platforms #3

Open rockingdice opened 2 years ago

rockingdice commented 2 years ago

I found this plugin on pub.dev and very like it! Can you make it possible to use on the desktop platforms?

RafaelBarbosatec commented 2 years ago

Hi @rockingdice ! We depends of camera plugin evolution. They are adding support to web and windows. I believe that this plugin have desktop support has soon.

rockingdice commented 2 years ago

@RafaelBarbosatec Thanks for your info!

Is that possible to read a QR code from an image file on desktop platforms? Some computers even have no cameras at all, but they can read image files at any time.

You may consider support partially for desktop platforms to read QR codes from images first. That should cover most of the use-cases. Then support scanning from the camera when the camera plugin is ready. There's a plugin named 'file_picker' on pub.dev and it supports all the platforms, it picks a file using a native dialog.

Looking forward to it!

RafaelBarbosatec commented 2 years ago

Good idea @rockingdice ! I'll adds this feature. To read QRCode from Image. Thanks so much!

RafaelBarbosatec commented 2 years ago

Hi @rockingdice ! Please take a look the 0.6.0 version. I hope it helps

rockingdice commented 2 years ago

Wow! Thank you! I'll try it asap!!

rockingdice commented 2 years ago

Oh! I just found it's for the web browser, can you make it support Windows/MacOS/Linux platforms as well? My project cannot run on the web browser, so I cannot test if it's working.