rafi0101 / Android-Room-Database-Backup

Simple tool to backup and restore your room database in Android
MIT License
241 stars 19 forks source link

Import not importing #34

Open pablo03v opened 7 months ago

pablo03v commented 7 months ago

Backing up to custom location works. When importing from custom location it says it succeeds but the database isn't actually imported.

Any help is appreciated <3

https://github.com/pabloscloud/Overload/tree/28-new-backup-implementation

Backup/Import implementation: https://github.com/pabloscloud/Overload/blob/ea7a722ad4050fbd7e25bbcca96b45eb592813a2/app/src/main/java/cloud/pablos/overload/ui/tabs/configurations/ConfigurationsTab.kt#L397C1-L439C2

MainActivity: https://github.com/pabloscloud/Overload/blob/28-new-backup-implementation/app/src/main/java/cloud/pablos/overload/ui/MainActivity.kt

I'm relatively new to Android Development. Please blame me for anything.

rafi0101 commented 6 months ago

Hi, where is your custom location? Did you read this section in my readme?

Attention
For custom dialog and custom file I only verified the functionality for local storage. For thirt party storage please try and contact me if it is not working. I hope I can find a solution and fix it :)