Wavesonics / hammer-editor

A simple tool for building stories.
MIT License
126 stars 6 forks source link

Feature request: Set project directory on Android #235

Open locrianz opened 8 months ago

locrianz commented 8 months ago

This was originally a comment in #127 but then I thought better of it and decided it would be better as a feature request.

I'd love to be able to set the project directory on Android like I can on desktop, so that I can sync files with Syncthing and not have to mess around with hosting a server.

This project looks great so far, but this one change would make it absolutely incredible for me.

Wavesonics commented 8 months ago

Ya this has been on my list for a while. I'll get to it soon hopefully!

arielsbecker commented 2 weeks ago

Came here looking for the same. (Already checked #127).

This is my idea for a good use case:

Wavesonics commented 2 weeks ago

yup this should be supported in the next version! Hoping to get it out in about a week.

monospacedmagic commented 2 days ago

I just went through the git history and noticed that you did implement this in v1.8.0, but decided to remove the feature in v1.8.1. Can you elaborate a little bit on what made you decide to remove the feature for the time being? A related code comment mentions that you were considering that maybe a different directory picker could solve the problem. I wish I could help more. 😅

Wavesonics commented 1 day ago

Ya I got it working, but it requires a special permission that Google has to individually approve for release on Google Play. I went through the application process, and was denied.

Google has really locked down app access to the public filesystem on Android in recent versions of Android.

So It looks like I won't be able to provide this feature on Google Play builds of the app. It should still be possible for side loading and FDroid builds, but I will need to do some work to actually produce different builds for GooglePlay VS the other distribution channels out there.