Nowadays, we find QR codes almost everywhere, whether on food packaging or when franking our shipping service online. If we want to scan a QR code ourselves, we can use the Xiaomi smartphone's camera app directly without having to download a QR code scanner from the Play Store.

Note: Scanning is only possible from the main/rear camera of the Xiaomi device.

Android 10 (MIUI 12.0)
Step 1:  Open the  Camera app
Step 2:  Open the  menu
Step 3:  Open the  Settings
Step 4:  Enable or disable  Scan QR codes
  1. Open the Camera app
  2. Open the menu
  3. Open the Settings
  4. Enable or disable Scan QR codes

Xiaomi Instructions