Skip to content

Anyone working on a F-droid build? #3

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

Open
Darin755 opened this issue Mar 5, 2024 · 24 comments
Open

Anyone working on a F-droid build? #3

Darin755 opened this issue Mar 5, 2024 · 24 comments

Comments

@Darin755
Copy link

Darin755 commented Mar 5, 2024

I have never contributed an app to F-droid but since I get all of my apps from F-droid I would like to jump start the process. However, I do not want to duplicate efforts so I am reaching out to see who else has started working on adding Netbird to F-droid. If someone would like to help out I am more than willing to collaborate. I see that adding Netbird to F-droid is on the Netbird roadmap so if the Netbird developers want me to hold off I will me more than happy to comply. Either way, the existence of this repository is a great step in the right direction. Way to go Netbird!

@Saturn745
Copy link

I would also love to see builds released on GitHub Releases or F-Droid.

My primary phone is degoogled, so I don't have the Google Play Store, and I primarily download my applications via Obtainium, which has a number of sources, with GitHub Releases and F-Droid being two of them.

@mlsmaycon
Copy link
Contributor

Hello, @Darin755. We have yet to start working on F-droid; we moved it to this month now, but we will probably start working on it only in a couple of weeks. So, it would be great to have some community support on that, and we would be happy to help you with any code needed for the process. What do you think?

@Outlet7493
Copy link

@mlsmaycon hey that's great to hear! I have forked the Android client already and removed the 9 proprietary libraries, and so the fork should be eligible for F-droid now.

However, if you want to keep it all as one codebase it might be a little bit more difficult as react-native-device-info pulls in 3 offending libraries, shown here. I have implemented the functionality used by Netbird from that library as native methods that the UI calls.

I am happy to either make this go upstream, be it in master branch or another branch. Another option is I maintain the fork and rebase when there are upstream updates.

I have not provided any builds on the fork yet, however they are reproducible & functional.

Fork is here: https://github.com/Outlet7493/libre-netbird-android

@Darin755
Copy link
Author

Darin755 commented Mar 6, 2024

@mlsmaycon hey that's great to hear! I have forked the Android client already and removed the 9 proprietary libraries, and so the fork should be eligible for F-droid now.

However, if you want to keep it all as one codebase it might be a little bit more difficult as react-native-device-info pulls in 3 offending libraries, shown here. I have implemented the functionality used by Netbird from that library as native methods that the UI calls.

I am happy to either make this go upstream, be it in master branch or another branch. Another option is I maintain the fork and rebase when there are upstream updates.

I have not provided any builds on the fork yet, however they are reproducible & functional.

Fork is here: https://github.com/Outlet7493/libre-netbird-android

Thanks! It seems someone already did the work for me. Assuming that the Netbird team doesn't have any issues with it I'm fine moving forward.

@Darin755
Copy link
Author

Should I go ahead and create an issue on the F-droid Gitlab?

@Darin755
Copy link
Author

Here is the issue:
https://gitlab.com/fdroid/rfp/-/issues/2688

@mannp
Copy link

mannp commented Apr 14, 2024

It would be great to have a tracker free android client to work with a self-hosted server.

Is a github release possible while we wait for the f-droid work? :)

@Darin755
Copy link
Author

I was working on an F-droid build but it looks like the Debian project doesn't build the Android NDK.

@aqxa1
Copy link

aqxa1 commented Jun 10, 2024

Would it be possible to release an APK on Github in the mean time? This way you could use something like Obtainium, without relying on Play services.

@Integral-Tech
Copy link

I was working on an F-droid build but it looks like the Debian project doesn't build the Android NDK.

Any progress on the F-Droid build?

@licaon-kter
Copy link

licaon-kter commented Sep 9, 2024

@Darin755 don't worry about NDK and whatnot, just make sure you have a clean FOSS flavor for F-Droid to build ;)

also make sure to add a Fastlane folder structure for metadata, ref: https://gitlab.com/-/snippets/1895688

@Darin755
Copy link
Author

Darin755 commented Sep 9, 2024

I started working on this and then got busy and forgot. If someone wants to tackle this feel free. Before I couldn't get it to build.

I will give it another go this week

@Darin755
Copy link
Author

I spend time trying to set this up but I had trouble with the Android SDK from Debian. If someone more knowledgeable wants to step in that is fine but right now this to big of project for me to start on. I have experience with Java but I have never done Android envelopment so this is more than I want to start on for now. Ideally this should be build using containers as that would provide a repeatable environment that would make development easier.

@licaon-kter
Copy link

@Darin755 just install Android Studio and do whatever you need to do instead of wasting time with stuff F-Droid will do.

Debians SDK is old anyway. F-Droid uses Googles.

@Darin755 Darin755 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2024
@Darin755
Copy link
Author

I will just let someone else work on this. Thank you all for your time.

@woj-tek
Copy link

woj-tek commented Apr 12, 2025

Can we have this issue re-opened just for the tracking purposed / so it's easier to find?

Also - any possibility to have .apk on release page?

@nazarewk
Copy link

We're currently planning a rewrite of Android client into native app in near future, we might start considering F-Droid release while at it.

@Darin755 Darin755 reopened this Apr 14, 2025
@nbdy
Copy link

nbdy commented Apr 19, 2025

JetBird is on F-Droid, if someone needs a solution in the meanwhile.

JetBird can be installed through F-Droid, if someone needs a solution in the meanwhile.

@licaon-kter
Copy link

@nbdy I don't see it on f-droid.org

@nbdy
Copy link

nbdy commented Apr 19, 2025

@licaon-kter You'll need the IzzyOnDroid repository.
All relevant information is here.

@licaon-kter
Copy link

Ok, then rephrase it as "it's in a repo somewhere"

This issue is about f-droid.org, right?

@Integral-Tech
Copy link

Integral-Tech commented Apr 19, 2025

@nbdy I've just submitted an issue on Codeberg to request F-Droid publication.
Although it is available on IzzyOnDroid, only armeabi-v7a is provided, which means latest 64-bit only Android devices can't run it.

@Darin755
Copy link
Author

JetBird is on F-Droid, if someone needs a solution in the meanwhile.

JetBird can be installed through F-Droid, if someone needs a solution in the meanwhile.

This is really cool. I'll have to try it out when I can.

@Nordlicht-13
Copy link

We're currently planning a rewrite of Android client into native app in near future, we might start considering F-Droid release while at it.

Hopefully the new Android Client will stay connected and will always connected again after starting the phone, or disabling the flight mode.

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