19

I’m kind of expecting the impossible, but asking anyway to ensure I’ve not missed out on any great ideas.

I’ve tried a couple of Flutter QR code scanner libraries, but as I was kind of expecting, none of those would run when I used the web beta support in Chrome for instance.

My question is, is there a Flutter QR code scanner library that works for iOS, Android and Web?

If not, is there a way to write this in Flutter for Web specifically?

There was one Stack Overflow question of running a QR scanner JavaScript library inside a WebView and trying to run a Web version which the post indicated faced issues with camera streaming. Is this a possible approach that would translate to Web?

Is there any other way to have a QR code scanner in Flutter to run in Web?

user1854555
  • 223
  • 2
  • 10

1 Answers1

1

You could use an API like http://goqr.me/api/ in your flutter web project. You just have to use the read command on their api. I think it returns a response in either json or xml. If that isn't enough there are othe apis just search it till you find a cool one