You should use the scan QR Code feature in the control centre instead of camera app.
Topic:
App & System Services
SubTopic:
General
Tags: