Problem with Retrieving Location in Background During --release Compilation[Question]: #1551
Labels
status: closed (missing info)
Indicates the issue was automatically closed due to a lack of information.
status: needs more info
We need more information before we can continue work on this issue.
Hello,
I am facing an issue with retrieving the location in the background. I am calling the location retrieval in the service using:
Position position = await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.high);
Everything works perfectly in --debug mode, but when I compile the application in --release mode, I do not receive the location.
Please help.
Version
12.0.0
The text was updated successfully, but these errors were encountered: