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

Release Android APK or publish to Fdroid repo #1853

Open
krillin666 opened this issue Mar 2, 2023 · 18 comments
Open

Release Android APK or publish to Fdroid repo #1853

krillin666 opened this issue Mar 2, 2023 · 18 comments
Labels

Comments

@krillin666
Copy link

Hi !

First, thank you so much for the work being done here.

I know the Android app is still lagging a bit behind the iOS one, but this being an open source project it would be essential for users to be able to install this outside Google Play.

For that you could release the app to an Fdroid repo, or instead release the compiled APK in this repo so users could use Obtainium (https://github.com/ImranR98/Obtainium) to automatically update the APK on new releases.

Keep up the amazing work !

@jacksonh
Copy link
Contributor

jacksonh commented Mar 3, 2023

Thanks, adding some notes here on F-Droid: https://f-droid.org/en/docs/Submitting_to_F-Droid_Quick_Start_Guide/

One challenge is the social login is tied to our app signing, we might need to create new social login profiles for this version

@linsui
Copy link

linsui commented Mar 5, 2023

One challenge is the social login is tied to our app signing

What does this mean?

GMS is used so this can't be published to F-Droid. You may need to create a FOSS flavor.

@jacksonh
Copy link
Contributor

jacksonh commented Mar 6, 2023

One challenge is the social login is tied to our app signing

What does this mean?

GMS is used so this can't be published to F-Droid. You may need to create a FOSS flavor.

Thanks. I suspect this is just for Google login, which we I think can remove on build. Maybe for notifications also.

@krillin666
Copy link
Author

One challenge is the social login is tied to our app signing

What does this mean?
GMS is used so this can't be published to F-Droid. You may need to create a FOSS flavor.

Thanks. I suspect this is just for Google login, which we I think can remove on build. Maybe for notifications also.

Having Google dependencies stripped would be the best, so it can reach much more users through Fdroid. But in the meantime you could publish the compiled APK, so people could use Obtainium to get updates.

@satindar
Copy link
Contributor

satindar commented Mar 6, 2023

Thanks for that comment @krillin666

Looking into Obtanium right now. I think this might be a better option for us since a few other people asked for the APK (or at least until we figure out F-Droid).

@satindar
Copy link
Contributor

satindar commented Mar 6, 2023

Ok I think as the app developer we just need to add the APK to our Github releases page. Nothing specific required from us for a user to access that via Obtanium (or other install methods that use Github release pages).

@satindar
Copy link
Contributor

satindar commented Mar 6, 2023

and I just now noticed you mentioned Obtanium when you first opened this issue...sorry for not reading carefully! 🤦🏽

@daviddavo
Copy link

Another option to make the non-foss flavor available on f-droid is using IzzyOnDroid

There is a lot of people that have this repository added to f-droid to download apps like logseq

@jacksonh
Copy link
Contributor

Hello, i started some of the work to publish to F-droid last night, I think I should have the PR submitted by the weekend.

@xplosionmind
Copy link

I think I should have the PR submitted by the weekend.

I fear this issue got lost in the meantime, and there is no PR open at the moment…

@mangkoran
Copy link

Any update regarding this ticket? Having the APK in the repo allow many users to directly install the app. F-Droid is good, but it has its own requirements that need to be fulfilled before an app can be published there.

@jacksonh
Copy link
Contributor

Yeah, unfortunately we can't post to F-Droid because of their requirements and some libraries we use. We could post the APK here, but people wouldn't be able to use the social logins.

@linsui
Copy link

linsui commented Sep 27, 2023

Many F-Droid users don't use Google. That's why they use F-Droid - to de-google. And the IzzySoft repo has less requirement. You just need to upload your apk to the release and they can pick up it.

@jacksonh
Copy link
Contributor

@linsui and do you need the apk to be unsigned?

@linsui
Copy link

linsui commented Sep 27, 2023

@IzzySoft can anwser you better. In short, no. You should sign it with your key. Izzy will take the apk and host it in the repo. They won't sign or modify the apk.

@jacksonh
Copy link
Contributor

OK first pass here: https://github.com/omnivore-app/omnivore/releases/tag/android-0.0.101

@linsui
Copy link

linsui commented Sep 27, 2023

Your apk is too large for Izzy's repo. Not sure if it will be small enough with only one abi.

@IzzySoft
Copy link

IzzySoft commented Oct 2, 2023

Way to large, and unlikely to get into the allotted size even for per-ABI builds, sorry. My estimate is each APK might get down to 70 MB, with much luck, which is still more than twice the per-app size allowed in my repo. Let's have a look:

  • native stuff is about 20 MB per ABI, so per-ABI-builds would be around 90..100 MB
  • assets make up 40 MB (uncompressed)
  • DEX take another 40 MB (uncompressed)
  • I see the app uses Firebase, Play Services etc – not a good start for a FOSS app. FOSS folks don't want to give their collections to Google and as those libraries are proprietary, you cannot even tell what they're really doing. rust what Google says? Nope. They asked for that too often and had us fooled (remember "location collection" which was not supposed to be there, for example).

TL;DR: Sorry, but no chance as far as I can see.

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

No branches or pull requests

8 participants