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.

Location request failing to return or throw after permissions request when called from F# code. #288

@Ryan-Palmer

Description

@Ryan-Palmer

EDIT : Example a couple of posts down

Description

When I try to get location on iOS from my F# core library, I find that exceptions, such as caused by refusing permission, fail to throw.

If I call the same code from C#, it behaves as expected. I even tried making the call to the plugin in a C# method, and calling that method from F#, but I found the same result.

I also find that F# does not continue the location request after granting permission, wheras C# does. In both cases, exceptions and permissions, the async location request never returns.

Steps to Reproduce

EDIT : Use the sample posted below

Expected Behavior

A PermissionException should be thrown

Actual Behavior

Nothing happens, the task never returns

Basic Information

  • Version with issue: 0.6.0
  • Last known good version: None
  • IDE: Visual Studio 2017
  • Platform Target Frameworks: 9.3 and up
    • iOS: 11.4

Metadata

Metadata

Labels

bugSomething isn't workingneed-more-informationNeed more information to investigate a bug or proposal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions