Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fixed]: Scanning modal remains open and blank when camera access is denied (#329) #406

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 19, 2024

  1. [Fixed]: Scanning modal remains open and blank when camera access is …

    …denied (hotwax#329)
    
    Introduced an alert pop-up for the case of camera access permission denied. Added hasCameraAccess to track camera permission status.
    
    Implemented a method to request camera access and show an alert if access is denied. The barcode scanner now only loads when camera access is granted.
    coolnj4 committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    bb74953 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. [Improved]: Refactored camera access handling and internationalized s…

    …tatic text for product scanning modal (hotwax#329)
    
    Moved the 'hasCameraAccess' check to the parent components (ShipmentDetails, ReturnDetails, and PurchaseOrderDetails), ensuring consistent handling of camera permissions across all views. Also, updated static text with the translate function to support internationalization, improving usability for global users.
    coolnj4 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    2d197e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e145ca View commit details
    Browse the repository at this point in the history