Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant