Voklen / Daily-Diary

An app to create a diary entry every day
GNU General Public License v3.0
49 stars 2 forks source link

I changed the directory on a non-rooted device, now my entries are gone? #16

Closed ErikUden closed 1 year ago

ErikUden commented 1 year ago

I was looking for a way to export my written diary entries, so I sadly ignored the warning that this would not work without root.

The phone I did this on is non-rooted, is there any way to recover my files? I cannot access the folder and set the setting back to its original state (I assume that was where all the files that made up the notes were stored, hence changing that makes the app lose track of where those notes are)!

Is there anything I can do? Maybe in a next update you could add a button to restore that setting and or export the notes into a format that can be imported by the same app (or just as markdown files)!

Super grateful for your development, love the concept of Daily Diary!

Voklen commented 1 year ago

By default the notes are stored at /storage/emulated/0/Android/data/com.voklen.daily_diary/files/ and your entries should still be there. The app stores it as plaintext files so they can be transferred and edited on any device. There's already a button to restore settings at the top that says "Select settings to reset".

Daily Diary settings page

That being said, I am working on using scoped storage so you can change the directory on non-rooted devices and on a feature to add an export button that compresses that directory as a zip file.

I'm glad you're enjoying Daily Diary, feedback is always appreciated!

ErikUden commented 1 year ago

By default the notes are stored at /storage/emulated/0/Android/data/com.voklen.daily_diary/files/ and your entries should still be there. The app stores it as plaintext files so they can be transferred and edited on any device. There's already a button to restore settings at the top that says "Select settings to reset".

Daily Diary settings page

That being said, I am working on using scoped storage so you can change the directory on non-rooted devices and on a feature to add an export button that compresses that directory as a zip file.

I'm glad you're enjoying Daily Diary, feedback is always appreciated!

Oh, thank you very much! All works very well now, I could've figured this one out myself. Thank you for your quick reply!

Voklen commented 1 year ago

And that's v1.2.5 published, it might take a few days on F-Droid but after that you should be able to change the directory without root (none of your previous entries will be there because they're still in the old directory but you can get them back by resetting or copying to the new one).

ErikUden commented 1 year ago

Thank you!! Will do ^ ^!