-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Drive modifies backup files in a way that they cannot be selected anymore in restore #312
Comments
Hi @franco27 thanks for reporting the issue. Can you please provide a few more details?
|
The backup file was created with the current version (which I mentioned in the first message). However, I had created a backup file with the previous version, and I have the same issue after the current version was released. I recreated a backup file, and again encountered the same problem on the new Motorola phone. On the other hand, on my Xiaomi phone, from which the backup was made, the backup file can be selected. I don’t understand why I cannot select it on the Motorola phone. Both phones have the current or latest version of your application installed. To answer your question about how I select the backup file: The backup file was downloaded to the Downloads folder on my Motorola mobile phone. (And previously, from my Xiaomi mobile phone, I uploaded this backup file to Google Drive). Please note that I deleted the old one before uploading the new backup file to Google Drive. |
That's quite weird. I filter the files available for selection by the mime type (
If that works, and it's actually broken by the transfer I could think of the following workaround. Create a zip file of the backup on your old device and transfer that to the new one. Extract it to the new one and then try to select it from the Expenses app. Generally I could look into removing the mime type filter if that is really an issue, but then I need to implement another verification with an error message if a user selects a random file which is not a backup file. |
After testing uploading and downloading a backup file to Google Drive I can confirm that the mime type of the file gets changed during that process. Creating a zip file of the backup file before uploading the file solves the issue. Can you please try to do that? Alternatively you can also transfer the file using quick share or Bluetooth. |
To answer your first question, on the old device with Android 10, when the backup is created, I can indeed select it and open it from the old device after the backup file is created. As I mentioned in my previous message, I had created two backups on two different dates from the old device with Android 10 and transferred them to Google Drive. And on the new phone with Android 14, after downloading, I was unable to select them. Sorry for this late response; with the summer holidays, I had a lot of work and very little free time. On the old device, I just created a ZIP file of the backup file and transferred it to Google Drive. After downloading it on my new Android 14 device, I was finally able to select and open it and restore my data. |
Hello,
I bought another mobile phone with Android 14 from Motorola. I had installed your app on a mobile phone with Android 10 from Xiaomi.
Through Google Drive, I sent the backup file of your app and downloaded it on the new Motorola phone.
After installing your app, I went into the settings and clicked the button to restore the file. Your app opens the Android file explorer, but the backup file is grayed out and I cannot select it. See the screenshot.
I am using the latest version of your app 0.12.2.
Thank you for your help.
The text was updated successfully, but these errors were encountered: