hotwax / dxp-components

DXP Components
Apache License 2.0
11 stars 19 forks source link

Modal remains blank and open when camera access is denied during product scanning #329

Open Adameddy26 opened 1 month ago

Adameddy26 commented 1 month ago

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

ashutosh7i commented 1 month ago

hello, can i work on this issue?

ymaheshwari1 commented 1 month ago

Sure @ashutosh7i

ashutosh7i commented 1 month ago

you can unassign me

coolnj4 commented 1 month ago

please find the required solution from this PR https://github.com/hotwax/receiving/pull/406