flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

Incorrect behavior getLocation

Open kirill09 opened this issue 1 year ago • 3 comments

Describe the bug This only happens on iOS Method "getLocation()" never returns

Expected behavior Get the result

Tested on:

  • iOS simulator

I see that there are a couple of issues on this topic https://github.com/Lyokone/flutterlocation/issues/172 https://github.com/Lyokone/flutterlocation/issues/422 But there is no solution. After studying the code I realized that it happens because of these lines https://github.com/Lyokone/flutterlocation/blob/master/packages/location/ios/Classes/LocationPlugin.m#L310-L313.

It is related to the task https://github.com/Lyokone/flutterlocation/issues/549

If the value doesn't change we will never get an answer.

https://github.com/Lyokone/flutterlocation/assets/5496840/20ce590a-12e4-472d-b4d4-c22dc4cba0db

kirill09 avatar Dec 21 '23 05:12 kirill09

The same for me. Any solution?

burekas7 avatar Dec 21 '23 13:12 burekas7

Same here

banny310 avatar Mar 05 '24 09:03 banny310

Same problem here - we have a triggle down issue on this >> https://github.com/cph-cachet/carp.sensing-flutter/issues/389

bardram avatar Jun 19 '24 08:06 bardram