cake_wallet icon indicating copy to clipboard operation
cake_wallet copied to clipboard

Splitting the version packages in fdroid (v8a, v7a, etc.)

Open serrq opened this issue 11 months ago • 12 comments

My device just wants an arm64 v8a apk ~79mb. Why I have to download every time 235 mb for all packages in fdroid repo?

1000037746

serrq avatar Aug 17 '23 16:08 serrq

SimpleX Chat does exactly what I mean.

1000037749

serrq avatar Aug 17 '23 16:08 serrq

Can you link additional resources on this? I have no idea how to do this for F-Droid.

SamsungGalaxyPlayer avatar Aug 17 '23 16:08 SamsungGalaxyPlayer

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.

serrq avatar Aug 17 '23 23:08 serrq

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.

epoberezkin avatar Aug 18 '23 14:08 epoberezkin

bottom line - different platforms require different build numbers in fdroid, like it was in play store in the past...

epoberezkin avatar Aug 18 '23 14:08 epoberezkin

It look like https://developer.android.com/build/configure-apk-splits is how you'd build split apks.

TempUser13 avatar Sep 17 '23 13:09 TempUser13

Bump @tuxpizza

nahuhh avatar Jan 08 '24 13:01 nahuhh

Looking into this!

tuxpizza avatar Jan 18 '24 18:01 tuxpizza