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

[Bug] [Android] Permissions LocationAlways Fails on Android 11+ #1936

Closed
@aritchie

Description

@aritchie

Description

Permissions.RequestAsync will either not return or not open new dialog. Android 11+ requires that background location permissions are requested separately or they will silently fail to the console.

FYI - this is partially related to #1912 which I am sending a PR for. The fixes from this have already been applied in Shiny Locations

Steps to Reproduce

  1. Spin up an Android 11/12 emulator
  2. Run permission sample for Location Always
  3. Watch nothing happen

Expected Behavior

The permission is requested and returns Denied/Granted or Restricted depending on choices made

Actual Behavior

Silently fails or returns denied

Basic Information

  • Version with issue: 1.7
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions