ev-map / EVMap

Android app to find electric vehicle charging stations - compatible with community databases such as GoingElectric.de and OpenChargeMap.org.
https://ev-map.app/
MIT License
204 stars 56 forks source link

Deleted chargers are not removed from DB #364

Open johan12345 opened 2 weeks ago

johan12345 commented 2 weeks ago

If a charging station is removed from the data source, but is still present in EVMap's local DB, EVMap will keep it until the cache limit configured for the data source (24h for GoingElectric, significantly longer for the others) expires or the cache is cleared. If we receive a complete complete ChargepointList response from the API, but the DB contains more chargers for the same region and filter settings, we should delete the extra chargers from the DB directly.

reported in #363