xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.53k stars 505 forks source link

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

Open dmacgeo opened 1 year ago

dmacgeo commented 1 year ago

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();
  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

Screenshots

Reproduction Link