Some devices have a way for the user to see whether an app is using their camera, as a camera icon in the status bar, this includes a Oneplus 6 and an iPhone 12 (the devices I have tested this on). On these devices, when using the ContinuousScan, the system indicates that a camera is allocated. When the scan is succesful and the Destroy action is called, the camera stays allocated (rather, the allocation icon disappears briefly but then reappears). This continues until force-closing the app.
We previously addressed this by including a DestroyQRScanner action in the OnInitialize of the next screen but this no longer seems to be working. Ideally, the QRScanner component should be destroyed in the OnDestroy of the screen but that does not work. This may be a bug in the EmbeddedScannerPlugin.
This bug only occurs when the screen is closed by a succesful scan. When the screen is closed by clicking the close icon or entering the code manually, the camera is correctly de-allocated.
Please find attached screenshots and a video recording of the behaviour, as well as an .oml of the behaviour I have recreated in a sandbox.