rafi0101 / Android-Room-Database-Backup

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

Wrong backup parameters #31

Closed jjewuz closed 10 months ago

jjewuz commented 1 year ago

Describe the bug I have to different options for backup database: 1. not encrypted and user choose path

  1. encrypted, with custom name and saves internally Function do it with check special boolean. So if I first do backup in encrypted state (2), all okay. But if i after that do (1) backup option, backup allow me select path, but do it with encrypted state and with custom name. After app restart everything is ok.

To Reproduce Steps to reproduce the behavior:

  1. Do backup with next parameters: encrypted, custom password, internal path, custom name
  2. after that try do do backup with; not encrypted, custom_dialog.
  3. You will see that db file will be encrypted and with custom name, but you can choose path to save.

Expected behavior Do backup with given parameters, save file without encryption and other extra parameters

Smartphone (please complete the following information):

rafi0101 commented 10 months ago

Hi Maxim, thank you for your feedback. Unfortunately, I cannot reproduce this behavior on my own. I did it as you described and tried with my sample app, but everything worked as it should.