I agree it would be great if smartphones had a QR code scanner built-in. It would save lots of code duplication for basic tasks.
On the other hand, you would have to trust that native app being the &#x27;man in the middle&#x27; for the data scanned.