Skip to content
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

Customize save location #14

Open
deathblade666 opened this issue May 18, 2024 · 2 comments
Open

Customize save location #14

deathblade666 opened this issue May 18, 2024 · 2 comments

Comments

@deathblade666
Copy link

deathblade666 commented May 18, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Would love to be able to select a location to save files rather than having them default to the apps data directory when modifying an existing file or downloads when saving a new file

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add a setting to set a default save location

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Only alternative I've come up with is to use tasker to move the file where I want it when closing the markdown editor

Additional context
Add any other context or screenshots about the feature request here.

@deathblade666
Copy link
Author

I think i realized the issue here, the storage permission prompt is not running so the app doesn't have permissions to view any other directory than its data dir. not sure if this is designed for an older version or what but if you use a system perm request that should fix it i would think.

@deathblade666
Copy link
Author

deathblade666 commented Jun 25, 2024

After more digging i found the issue is acouple things.

  1. May need the MANAGE_EXTERNAL_STORAGE permission
  2. The current getFilePath function is getting the cached path within the /data directory so it saves there instead of where the file actually is
  3. the filer picker function, does not seem to return a valid file URL (at least in the logs) not sure whats needed there though.

EDIT: dug deeper it appears the only real issue here is #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant