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

In UWP, checking permission for microphone always returns "Granted" even if app permission for microphone is set to "off" #2049

Open
dmacgeo opened this issue Sep 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@dmacgeo
Copy link

dmacgeo commented Sep 26, 2022

Description

In UWP, checking permission for microphone always returns "Granted" even if app permission for microphone is set to "off"

Steps to Reproduce

  1. Ensure that in Windows Settings, the app permission for microphone is set to "off"
  2. Call the function Permissions.RequestAsync<Permissions.Microphone>();
  3. The returned value is "Granted" instead of "Denied"

Expected Behavior

The function should return "PermissionStatus.Denied"

Actual Behavior

The function returns "PermissionStatus.Granted"

Basic Information

  • Version with issue: 1.7.3
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP: 19041
  • Android Support Library Version:
  • Nuget Packages: Xamarin.Essentials 1.7.3
  • Affected Devices: UWP

Screenshots

Reproduction Link

@dmacgeo dmacgeo added the bug Something isn't working label Sep 26, 2022
@dmacgeo dmacgeo changed the title [Bug] In UWP, checking permission for microphone always returns "Granted" even if app permission for microphone is set to "off" Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant