Open narzullayev0772 opened 2 months ago
I believe your issue has more to do with the flutter 'location' package than the 'flutter_background_location' package. I am currently stuck at the same one. I think 'location' is supposed to be run in the main isolate, and does not support running from a different isolate (your background/foreground service is a different isolate). The reason being that the location plugin probably depends on the flutter engine, which is not available in the service. I would be happy if somebody would correct me if I am wrong.
what is wrong in my code