Closed Thewisem closed 5 months ago
Hi,
Just wondering, could it be an option for you using
https://github.com/ImranR98/Obtainium
For fetching the release directly from github?
Oh thanks. Just wondering why isn't the armeabi v7a build on fdroid?
Simply because, I did not figure out how to specify multiple architectures apk in the format fdroid expects, and since the majority of the devices are compatible with ARM64, I went with that.
Unfortunately at the moment I am on vacation and I don't have much time to look at it. I promise I'll look at it when possible.
Of course, any help is appreciated
OK thanks for looking into it. I am a new user and I really liked your app interface. It has all that I need. :)
yes it can be done and x86_64 too :)
the issue is that versionCode per arch should not be as Flutter sets it: https://github.com/flutter/flutter/blob/3.22.1/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy#L1176-L1185
So instead of abiVersionCode * 1000 + variant.versionCode
having ARCH identifier first
it should have it at the end: variant.versionCode * 1000 + abiVersionCode
your current 7055
for armv7, 8055
for arm64 and 10055
for x86_64 should be 55007
, 55008
and 55010
I guess, although I can exactly find where you set these
Sorry I did not get this line:
although I can exactly find where you set these
I understand that it seems a problem with the versionCode
, I would be ok for me changing it (if flutter allows it), and it shouldn't be a breaking change since the resulting versionCode is higher than the current one.
Typo "I can't" :)
I did not do any special overwrite of the formula you wrote above and that flutter
uses.
It seems it is possible to overwrite such formula.
However, also in the official android documentation the formula flutter uses seems to be confirmed: https://developer.android.com/build/configure-apk-splits#configure-APK-versions
Why F-Droid requires a different formula instead?
It seems it is possible to overwrite such formula.
yes, many apps do
However, also in the official android documentation
that's more like the "Google Play" documentation, they don't care about versionCode, except that it should be "bigger"
Why F-Droid requires a different formula instead?
because all the versions live in one file https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.github.emavgl.piggybankpro.yml that's sorted by versionCode
with the "google way" when adding a version you'd edit in 3 different parts of the file, having ABI at the end of the number is easier for the humans :)
fyi: @licaon-kter
I have changed the formula and the APK have now:
Is that good now?
I guess the com.github.emavgl.piggybankpro.yml needs to be updated accordingly. Could you please guide me on how?
Yup, will take care, brb
Thank you so much! Closing this issue then.
Just as title described. The app in fdroid is incompatible with armeabi v7a. Since you already build it in your github. Could you post that as well on fdroid.