Request Camera permissions - Forum

Forum Navigation
You need to log in to create posts and topics.

Request Camera permissions

Reference to scanning QR Codes.

It is possible to save the permissions for the device camera once given so that the user does not have to authorise the setting each time.

This applies to the QR code scanning feature.

Thanks

@jason-roberts Yes, it is technically possible to allow browser-based applications, such as those created with VisualNEO Web, to remember camera permissions granted by the user. However, this behavior is primarily managed by the web browser and not directly by VisualNEO Web or its plugins.

Here are the key points:

  1. Browser-Managed Permissions:
    • Once a user grants camera access, modern browsers like Chrome, Firefox, or Edge typically remember that decision for the specific domain or application URL.
    • This means the next time the user accesses the app, the browser often does not prompt again—unless the permissions were revoked, the browser was reset, or a different device/browser is used.
  2. neoScan / neoQr Plugins:
    • If you're using plugins such as neoScan or neoQr for QR code scanning in VisualNEO Web, they rely on the browser’s access to the camera.
    • These plugins do not have control over storing or managing permissions; they merely trigger access requests when the scanning function is called.
  3. Best Practice:
    • Inform users to accept the camera permission when prompted and let them know that most browsers will remember the setting.
    • If your application is hosted under HTTPS (highly recommended for PWAs), browsers are more likely to remember permissions persistently.
  4. Progressive Web App (PWA) Advantage:
    • If your VisualNEO Web application is compiled and deployed as a PWA, the permission settings are often more reliably remembered by the device/browser.

Thank you. Understood.