Skip to content

FAQ: Synchronization

Michael Totschnig edited this page Jan 16, 2024 · 8 revisions

How to set up synchronization?

The following video shows how to create a synchronization back-end on Google Drive, sync existing data from one device, and restore it from another: https://mastodon.social/web/@myexpenses/107893807413260921

Synchronization stopped working, how can I find out why?

Please activate debug logging from Settings -> Advanced -> Debug -> Write debugging information into system log. Then the app creates a file called SyncAdapter-latest.log on the device' external storage under Android/data/org.totschnig.myexpenses/files/logs. This file should contain some useful information what happens while the app talks with the sync backend. You can send it to support@myexpenses.mobi and we will try to make sense of it. The Debug Preferences (Settings - Advanced Section - Debug) has an entry "Share log files" that facilitates sending this file.

Synchronization does not work on my Xiaomi (or TCL or similar) device. Why?

According to reports by users, on some Xiaomi MIUI devices, synchronization does not work without an "Autostart" permission. See https://github.com/mtotschnig/MyExpenses/issues/450#issuecomment-422437282 for a guide on how to grant it. Similarly for TCL devices, Autostart must be granted, and according to one user report, "Smart manager" must be configured to not control My Expenses. You can install https://play.google.com/store/apps/details?id=com.urbandroid.dontkillmyapp in order to assess, if your device has restrictions on background tasks that might prevent My Expenses' synchronization from feature, and to learn about potential workarounds.