Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

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

Open dmacgeo opened this issue 3 years ago • 0 comments

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 avatar Sep 26 '22 15:09 dmacgeo