cake_wallet
cake_wallet copied to clipboard
Splitting the version packages in fdroid (v8a, v7a, etc.)
My device just wants an arm64 v8a apk ~79mb. Why I have to download every time 235 mb for all packages in fdroid repo?
SimpleX Chat does exactly what I mean.
Can you link additional resources on this? I have no idea how to do this for F-Droid.
Can you link additional resources on this? I have no idea how to do this for F-Droid.
Unfortunately I don't know how to do it. I am not a developer.
you could +1 version for one of the builds in gradle script - so say 64bit will be 100, 32bit 101. And make sure to skip the build number when you release - that's how we do it.
Or you can +10000000 for 32 bit version (that was fdroid advice), then you don't need to skip versions, but they'll look weird for 32 bits.
bottom line - different platforms require different build numbers in fdroid, like it was in play store in the past...
It look like https://developer.android.com/build/configure-apk-splits is how you'd build split apks.
Bump @tuxpizza
Looking into this!
Sorry just saw this issue. @TempUser13 thanks for the PR, but yeah Flutter has already a built-in way to split the fat APK, we just didn't want to have a lot of files in the releases so we don't confuse the users since there are already 4 files that get uploaded to Github, but for F-Droid we can indeed upload the split versions separately. will start doing so from the next release
Til about Flutter having a split apk feature built in but you're welcome, I know you don't want to confuse users but there will still be people downloading from GitHub either manually or via Obtainium, for instance I personally use Obtainium. You could mention in the readme for Android users but you'll still have the regular universal apk regardless. Having brought up Obtainium, are you/the team aware of Accrescent? Would you consider adding a check for update in app too?
Having split apks on GH is probably ideal.
Currently its(not verbatim)
cake-universal.apk
dotcom-universal.apk
cake-linux.flatpak
cake-linux.tar.gz
could be
cake-universal.apk
cake-arm64-v8a.apk
cake-armeabi-v7a.apk
dotcom-universal.apk
dotcom-arm64-v8a.apk
dotcom-armeabi-v7a.apk
cake-linux.flatpak
cake-linux.tar.gz
Would you consider adding a check for update in app too?
@TempUser13 .. opt-in only 🙃. Fdroid can check just fine
@tuxpizza can close as completed :D
(don't forget to do fdroid as well)