Skip to content

QR Scanner Refactor

Closed Jul 4, 2024 100% complete

the qr scanner has some problems:

  • spaghetti-like code for executing them
  • camera sometimes does not turn off after scanning
  • unable to select which camera is used (front/rear or if multiple webcams are connected)

Plan is to redo the qr code scanner and refactor the code that acts upon the result.
we can use https://github.com/Simon-Laux/quircs_wasm for th…

the qr scanner has some problems:

  • spaghetti-like code for executing them
  • camera sometimes does not turn off after scanning
  • unable to select which camera is used (front/rear or if multiple webcams are connected)

Plan is to redo the qr code scanner and refactor the code that acts upon the result.
we can use https://github.com/Simon-Laux/quircs_wasm for this, we already use wasm for the message parser so look for how we did it for the message parser if you need help. (or ask simon)

A bonus feature that could also be in this milestone is to detect qrcodes in the fullscreen-media-view and make them clickable, but that is just for fun right now and would be probably hidden away behind an experimental-toggle in the settings for now.

This milestone is closed.

No open issues remain. View closed issues or see open milestones in this repository.