johannesjo / super-productivity-android

Android App for Super Productivity (https://super-productivity.com/)
MIT License
119 stars 20 forks source link

Alternative web base for the app #23

Open GEkuL opened 2 years ago

GEkuL commented 2 years ago

Hi there,

I've just installed docker version of the web app, and got the question: how to make the android app connect to exactly this (my server) instead of the default one by official domain?

lrq3000 commented 1 year ago

You need to make your own build and replace the url pointing to https://app.super-productivity.com/ to point to your own domain instead. Just make sure your domain can serve https content, because Android is now pretty picky about which domains apps can access, and it prevents cleartext communications unless you go through hoops to modify the app's code accordingly.

GEkuL commented 1 year ago

@lrq3000 yeah, I wish I could do that via settings, and not just rebuilding the app :(

johannesjo commented 1 year ago

@GEkuL I am open for adding this as a feature, but probably won't work on it myself.

GEkuL commented 1 year ago

@johannesjo I see, but I'm not into android dev either :(

jiongxuan commented 1 week ago

@GEkuL @johannesjo @lrq3000 See: https://github.com/johannesjo/super-productivity-android/issues/50

This problem has been solved. Please refer to README for configuration after updating.https://github.com/johannesjo/super-productivity-android?tab=readme-ov-file#building-locally

Regarding a fully offline solution, I agree that the changes would be significant, and it’s something that needs careful consideration.

However, I am writing the logic for this and it should be online soon. Please stay tuned.