forecastie
forecastie copied to clipboard
Option to use passive location
If possible, could we have an option to use the PASSIVE_PROVIDER
to obtain our current location, please? (for situations where we don't need or don't want to use the GPS receiver, for example)
Do you mean via network data, i.e. wifi/cell towers?
Or maybe use the Fused Location Provider API? (which has a description as "Using the fused location provider API, your app can request the last known location of the user's device")
I don't know exactly the inners of Android, but I would like the app to know my location, as best as possible, without using the GPS.
As documentation says, with PASSIVE_PROVIDER
app get location when some other app ask system about location (through internet or GPS). But this is the same data which app gets when asks GPS explicitly.
A user can use search button to find the city and as I know Forecastie will use this city to get forecast without asking Android for location.
Add use of PASSIVE_PROVIDER is easy but I agree that there should be added options to enable it in the settings as well. May be even sortable list of available approaches of getting phone's location to give a user opportunity to set priorities.
A user can use search button to find the city and as I know Forecastie will use this city to get forecast without asking Android for location.
Yes.
What I was thinking is: if I travel to some other city and open Forecastie, it should see that I have moved (by using PASSIVE_PROVIDER
, NETWORK_PROVIDER
or the fused API) and update my location, using the best data available (without using GPS), without needing to manually update my location.
If possible, could we have an option to use the
PASSIVE_PROVIDER
to obtain our current location, please? (for situations where we don't need or don't want to use the GPS receiver, for example)
I have an issue where Forecastie does not update the location when traveling. I need to open settings and click "detect location" for the location to be updated. Even when my location is known by GPS, forecatie does not update unless I click "detect location" . Is this the same issue you are describing?