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

Picker is requesting camera access for record audio #572

Open
aimalkhantoru opened this issue Sep 22, 2024 · 0 comments
Open

Picker is requesting camera access for record audio #572

aimalkhantoru opened this issue Sep 22, 2024 · 0 comments

Comments

@aimalkhantoru
Copy link

Picker Requests Camera Access for Audio Recording Option

Expected Behavior

The picker should not request camera access when selecting the audio recording option. Permissions should only be requested after the record button is clicked.

Current Behavior

The picker requests camera access even when choosing the audio recording option and prompts for permissions before the record button is clicked.

Steps to Reproduce

window.addEventListener('DOMContentLoaded', function () {
  const apikey = 'YOUR_API_KEY';
  const client = filestack.init(apikey);
  const options = {
    maxFiles: 20,
    fromSources: ['local_file_system', 'audio', 'video', ],
    uploadInBackground: false,
    onOpen: () => console.log('opened!'),
    onUploadDone: (res) => console.log(res),
  };
  client.picker(options).open();
});

Additional Screenshots

Screenshot 2024-09-22 at 12 25 58 PM

Your Environment

  • Version used: 3.31.0 and any older version
  • Browser Name and Version: Chrome v128.0.6613.121
  • Operating System and Version: macOS Sonoma 14.3 (desktop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant