[Android] Selection of an export folder crashes
What happened?
- Butterfly version 2.2.1-rc.2
- Android 14
- Samsung A54
Selection of an export directory on internal or external memory (SD card) or Nextcloud directory folder does not work and therefore export does not work for me. I cannot access files in /Android/data/* - apparently for security reasons of Android 14.
Creation of a new folder works.
The crash happens when selecting the distinct export destination folder for Linwood Butterfly app.
Version
2.2.1 rc 2
Platform
Android
Relevant log output
see screenshot
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hmm seems like the path could not be found. I tested it myself with the samsung s24+ and it works. Can you try selecting the internal storage, create a documents directory in it and selecting this?
I could select
but no pdf or png exported to there.
Selecting other directories did result in the crash.
Hmm this could be a start. I know that the android permission system is very strict, this could be the reason you cannot open pdf files there. Which other directories did you try? You couldn't select root directories or non-local ones.
I tried only subdirectories.
At some point, I found /documents/documents/documents/*.bly files.
I deleted the app and reinstalled. Same problem.
I suggest you add error messages, when export fails, as this appears to be missing.
Also, I cannot see a "save file" option.
The thing is: This is the "Base directory" for the app. In this directory, it will create 3 directories called Documents, Packs and Templates. I don't know what you mean with /documents/documents/documents/*.bly. Which export doesn't work? Exports should open the share functionality on android where you can select where you want to save it. Usually the document gets autosaved, you can disable this functionality in settings -> behaviors -> autosave
Hi, is the bug in the newest stable reproducable?
got no answer, would put it in https://github.com/LinwoodDev/Butterfly/issues/569