-
Notifications
You must be signed in to change notification settings - Fork 149
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
Upload the Android App to a F-Droid repository #1261
Comments
Hello @IzzySoft I was thinking on you while I was creating this issue, can we apply to have Robosats available in your repo? 😃 I'll take care of adding all the necessary configurations to the Android App, which I assume will be the same as we did for Nostros. Thanks in advance! |
I could include one of the per-ABI builds (arm64 probably). Scan results look good except for one thing that will at least need clarification:
|
Probably introduced by the Tor engine library, the app only works over the Tor network. |
So it connects via a local (on-device) Tor proxy, with "cleartext" traffic just on-device? |
The proxy is loaded in-app with this library https://github.com/05nelsonm/kmp-tor/ and 100% of the traffic pass through it because everything is a |
OK, that makes it easy: usesCleartextTraffic: used only on-device to communicate with the integrated Tor proxy Guess you've nailed that even to That said: There's no APK at the latest release. Do you want me to pick up pre-releases then, or shall I wait for the next release having an APK? |
@IzzySoft I'll take a look and do some test thanks! We are planning to create the release this weekend, also we have a PR with the fastlane metadata, we'll ping you once we are ready 😁 Thank you again! |
Fastlane files ready for review #1270 |
Reviewed 😃 Just the |
@IzzySoft we are ready to go 😁 https://github.com/RoboSats/robosats/releases/tag/v0.6.1-alpha |
Preparing the listing here then 😃 Just one question left: Can the network service used be self-hosted? Is the server component FOSS? We might need the |
PS: If you plan to get your app listed at F-Droid.org, the |
Okay @IzzySoft thanks for the hint we'll move it right now! 🚀 |
Please let me know when done, as I then need to update your app's config here as well 😉 And do not forget to answer the other questions please (server part):
I know there are instructions for self-hosting – what is not clear is if one can choose that self-hosted server in the app itself. If not, it's Currently, your listing would look like this when "going live" around 6 pm UTC: (just the TetheredNet description was updated to "Server URL is currently hardcoded") |
Not from the android app, all frontend clients are hardcoded to use very specific URL and there is no way for an end user to change it. The self-hosted options are meant to always refer to the web client, not the backend.
Asking @Reckless-Satoshi to confirm, but I would say yes! You can find the list of main services for backend here https://github.com/RoboSats/robosats/blob/main/docker-compose.yml |
Thanks, then I got that correct with |
thank you so much for the support!! I'll ping you once we move |
Yes. RoboSats has 2 components, the client (for example the Android app is a full client) and the coordinator (we could say this is "the server"). There is many clients and many coordinators. The coordinators are, of course, fully FOSS (this monorepo contains the coordinator codebase as well). Anyone can run a coordinator, the only current limitation is that coordinators are whitelisted and hardcoded into the client (new coordinators must open an Issue and a PR in this repo for inclusion in the client). In the near future, it would be trivial to add a feature for users to add new coordinators to their client through a form: although that might likely put users at risk... |
Thanks for clarification, @Reckless-Satoshi – that matches my guesses. Then we go with |
@IzzySoft |
Eek, and forgive the blind me: |
Oops! Okay then I'll change it, is it required also for Izzydroid? Should we do it asap? |
Nope, not at all (see the link in my previous comment: at IzzyOnDroid, any entry-point works as it's configured for each app explicitly. I've already adjusted it to the current location. It will just be needed if you decide for a listing at F-Droid.org. And if you wonder, here are some details on that "entry-point":
That's the "official" locations by Fastlane. F-Droid.org and IzzyOnDroid have some freedom of interpretation, so F-Droid.org e.g. also accepts TL;DR: Nothing urgent. Just let me know if and when you change it, and ideally before you make another release after having changed it (so the updater finds it). |
Great explanation! 👏👏 |
Not before there's a new release including that 🤣 But yes. Please give me another ping then. |
We are good to go 🚀 https://github.com/RoboSats/robosats/releases/tag/v0.6.3-alpha |
Heh – the IoD updater pulled that already in yesterday, so it's even live already 🥳 |
Thank you @IzzySoft !!! closing this issue 😃 |
@IzzySoft I see the anti-feature is still appearing, any insight? Thanks! |
Oops – missed that "coordinator" = "server", and thus no longer tethered. Too many issues to follow in too many projects 🙈 I just removed it, should be gone with the next sync around 6 pm UTC. Apologies for the delay! |
haha thank you for checking and for your work!! |
@KoalaSat got a recipe ready for F-Droid
some questions:
|
Ey @licaon-kter this is awesome thank you!
|
we use our clean Debian VM, so no Docker, but we can mirror your Docker commands, the only thing that we'd like to match is exact commit the libs were build from: https://github.com/RoboSats/robo-identities/commits/main/ like see srclibs section, I used latest RoboSats/robo-identities@c95a9f5 but the .so differences are massive 😞 rust built libs can be made reproducible, afaik, so this might be possible, here's the full difflog:
open the APK, look in libs/x86 folder, see no librobo*.so files and see no rust tooling, nor build command for x86: RoboSats/robo-identities@c95a9f5#diff-e45e45baeda1c1e73482975a664062aa56f20c03dd9d64a827aba57775bed0d3R18 just x86_64 (yes, Android x86 is rather rare these days but you added the rest of the libs so...) |
I'm pretty sure this was the commit, before x86: RoboSats/robo-identities@424a297 We can even update those files on Robosats with the output of the last commit to keep everything consistent |
that commit does not build
you mean for the next beta release? |
Yes, we are planning to release another version soon, I can just rebuild those libs with the latest commits and take a look to that x86 |
@KoalaSat ping when ready to test |
For a final checkup, final-ish recipe, this is repro 🎉 fyi:
from top to bottom some issues:
|
Alright, let's remember this @Reckless-Satoshi
What do you think about including the commit hash as part of the file name? |
we need to be able to grep the commit hash from the source code tree of that release, not sure which file you have in mind eg. when looking at https://github.com/RoboSats/robosats/tree/v0.7.3-alpha the hash would be there somewhere in a file |
Is your feature request related to a problem? Please describe.
Users now have to access directly to the github page to be up to date with the Android app or using tools like obtanium. Would be great to have it available on a major F-Droid repository
The text was updated successfully, but these errors were encountered: