I am trying to use either Geolocator.getCurrentLocation or Geolocator.checkPermission() inside Workmanager's task. Both of those calls raise the same exception:
microsoft.codeanalysis
mbsync
partial
webkit-animation
spring-filter
xml-entities
disabled-input
native-crash-reporting
f#-interactive
java.lang
unnamed-pipes
datetimeindex
askql
tig
apple-numbers
azure-ddos
unreal-umg
anime.js
maven-metadata
pytesser
locationmatch
google-cloud-run
estimation
ttreenodes
system-identification
aix
azure-devops-multistage-pipeline
jaxb
redirectstandardoutput
boost-multi-index