I am getting location in background through Fused Location Provider but always getting null Location.
Can you please help me
I am getting location in background through Fused Location Provider but always getting null Location.
Can you please help me
Are you using an android emulator?
The fused location provider manages the underlying location technologies, such as GPS and Wi-Fi, and provides a simple API that you can use to specify the required quality of service. For example, you can request the most accurate data available, or the best accuracy possible with no additional power consumption.
well, it happened to me before when I used some android emulators with low API
levels (Lollipop L25). so the emulator doesn't have any location info to return
but it will work on a physical device.
now if your problem just in the background what background service are you using can you share some code?