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] [iOS] Permissions.RequestAsync() Dialog box keeps on disappearing #1066

@dsdilpreet

Description

@dsdilpreet

Description

When the following line of code is executed, user is presented with dialog box but that box keeps on disappearing before user could interact with it. The problem only seems to be happening on iOS for me, Android seems okay.

await Permissions.RequestAsync<Permissions.LocationWhenInUse>();

Steps to Reproduce

  1. Run the code linked in reproduction link on iOS simulator / device
  2. Click the button and the dialog should should come and go

Expected Behavior

The dialog box should not disappear without user's interaction.

Actual Behavior

As described above

Basic Information

  • Version with issue: v1.4.0 pre 2
  • Last known good version:
  • IDE: Visual Studio 2019 16.4.3
  • Platform Target Frameworks:
    • iOS: Tested on iOS 13.3 and 12.4.4 and both are affected.
    • Android: 9.0

Screenshots

iPhone 8 iOS 13.3 2020-01-20 09-17-29.zip

Reproduction Link

https://github.com/dsdilpreet/xamarin-essentials-permissions-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions