EVMap icon indicating copy to clipboard operation
EVMap copied to clipboard

Import/Export app settings

Open ericszimmermann opened this issue 4 years ago • 4 comments
trafficstars

It would be great to be able to export/import multiple settings as: -Filter profiles -Favorite list -Settings -Chargeprice Settings

Sincerely Eric

ericszimmermann avatar Apr 27 '21 08:04 ericszimmermann

Hi! I agree that's a good idea. In principle, most of the settings should probably already be saved through Android's backup mechanism, but that works only on devices that have implemented it (i.e. mainly those with Google services) and sometimes you want to transfer settings manually. Probably the settings could be stored relatively easily as a JSON file.

Would you like to work on this?

johan12345 avatar Apr 27 '21 19:04 johan12345

Hello, i am intrested to work on it. I need some time to look at the source code

florian-sabonchi avatar May 16 '22 14:05 florian-sabonchi

Great, thanks! Let me know if you need help. Probably the main things to look at for settings export are PreferenceDataSource (most app settings) and also some of the database tables, for favorites and filter profiles. For favorites I would probably just store the IDs and data sources in the export and then fetch the details from the data source during import.

johan12345 avatar May 16 '22 16:05 johan12345