The scanning modal remains open and blank, with no content or options, leading to confusion for the user.
Expected behavior
If the user denies camera access, the app should either close the scanning modal and notify the user about the denied permission.
Steps to reproduce the issue
Open the app and navigate to the product scanning feature.
Attempt to scan a product.
When prompted for camera access, select 'Deny'.
Observe the behavior of the scanning modal.
Current behavior
The scanning modal remains open and blank, with no content or options, leading to confusion for the user.
Expected behavior
If the user denies camera access, the app should either close the scanning modal and notify the user about the denied permission.
Steps to reproduce the issue
Open the app and navigate to the product scanning feature. Attempt to scan a product. When prompted for camera access, select 'Deny'. Observe the behavior of the scanning modal.
Additional information
https://jam.dev/c/72751651-5855-409d-a96a-abbe2a6bcd80