Capacitor QR scanner

  • Is there a qr scanner plugin compatible with Quasar and Capacitor? I’m trying to use phonegap-plugin-barcodescanner, but cannot make it work.

  • I’ve figured it out. phonegap-plugin-barcodescanner works with capacitor, you need to call cordova.plugins in your vue component (not really obvious though)

  • @DavidGo yep, since quasar isnt normally concern with third party plugins although most can be accessed through the globals provided ie. $q.capacitor or $q.cordova but not all plugins attached themselves on the same object, some in the window, navigator and etc… defo need to do some trial and error and ofc read the plugin’s own docs about it.

Log in to reply