This project build perfectly before January of this Year. But now it's show me error. First They show me location 16+ error. Then I changed the location package
I am trying to use either Geolocator.getCurrentLocation or Geolocator.checkPermission() inside Workmanager's task. Both of those calls raise the same exception: