Flipper-Android-App
Flipper-Android-App copied to clipboard
[ENHANCEMENT] Add application on F-Droid
Hello,
In the scope of releasing the application in a full open-source environment, is it plan to release the app on the F-Droid alternative store ? https://f-droid.org/
Look cool
If you need some help, I think @IzzySoft can help you :)
Quick hints:
- establish Fastlane structures here in your repo (minimum:
short_description.txt&full_description.txtforen-US; strongly recommended: also screenshots; recommended: also icon + featureGraphic; nice: also per-release changelogs and multiple languages) - optionally ask me to cross-check the structure
- have a new tag with Fastlane inside
- open a RFP (Request For Packaging) with F-Droid
- we pick up from there :smiley:
With more details: F-Droid for advanced users and developers (shameless self-promotion of my article :see_no_evil:)
I came here to suggest this! Would really like to see this feature or contribute if I can.
Can I sign the f-droid APK with my signature? How?
Not directly. But what you're probably looking for is a dual-signed APK (carrying yours and F-Droids signature). Look for reproducible builds.
Any blockers that I can help with or things that need to still be completed?
Any blockers that I can help with or things that need to still be completed?
It just takes time. If anyone wants to do this, I'll help!
I have opened a PR to start the metadata needed, you will still need to release this app with a new tag, and hopefully add changelog and other stuff like donation info and website to the RFP at FDroid.
Some issues where flagged here, https://gitlab.com/fdroid/rfp/-/issues/2187 mainly insecure Gradle configuration.
Can we reopen this until it's included?
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11685 for tracking and help.
How can we help get this through?
I guess it's up to @BoBeR182 currently to accept the suggested changes in the MR.
Merged the changed and bumped the version to 1.2.2 (599) same one as on the Google Play store. Looks like there is still some errors with Gradle build process, see the following job for all the errors https://gitlab.com/BoBeR182/fdroiddata/-/jobs/3221672445
There are a lot of scanner errors in that log. Examples (bottom-up):
ERROR: Found Java JAR file at build-logic/plugins/convention/build/libs/convention.jar
ERROR: Found Java compiled class at build-logic/plugins/convention/build/classes/kotlin/main/com/flipperdevices/buildlogic/ApkConfig.class
I guess someone accidentally checked in build artifacts. In that case, I'd suggest to remove them again (ideally pruning, but for the build deleting would suffice). If those structures are there on purpose, the question is whether the F-Droid build would succeed if they were not there – in which case a scandelete or rm entry could be made in the build block, here for build-logic/plugins/convention/build. That would then avoid those errors, and the build would continue; it aborted due to the scanner ERRORs:
ERROR: Could not build app com.flipperdevices.app: Can't build due to 1128 errors while scanning
@IzzySoft any ideas on this one, https://gitlab.com/BoBeR182/fdroiddata/-/jobs/3221854075 You last recommendation helped.
Yeah, looks much better already – and the build actually started :smiley:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
I'd say retry. If the error remains, being no Android dev I've no clue, sorry.
It's very strange that it takes 40 minutes to assemble. Even on free githab runners, a clean project takes about 10 minutes to build.
Have you tried disabling the demon?
What command is executed on the server? It now builds everything (even the wearos version). Can you tell it to only build the application (:instances:app:)?
I also think i should attach a link to GitHub Workflow: https://github.com/flipperdevices/Flipper-Android-App/blob/dev/.github/workflows/internal.yml#L54
I would also like to say a big thanks to @BoBeR182 for doing this. And to other contributors
Seems the compiled APK won't install on my phone, can you help debug? https://gitlab.com/fdroid/fdroiddata/uploads/2e1c4f5ae9c82e1a917a0bb38d66406e/com.flipperdevices.app_599.apk.gz https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11685#note_1149898055
@BoBeR182 have you signed it? The CI spits out an unsigned APK.
I assumed a rooted phone can just install unsigned APKs, I will learn how to self sign and try again.
I assumed a rooted phone can just install unsigned APKs
To my experience not. Most of my devices are rooted, and a simple adb install using an unsigned APK always failed (complaining of missing certs).
Are reproducible builds possible? Or should we move ahead here? This is above my experience level. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11685#note_1171890546
Reproducible builds are not a requirement – while definitely something good to aim for. If it's above your experience, feel free to skip it for now and postpone it (especially if it would keep you from "going live" for an indefinite time). You can always add that later when you feel ready.
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11685 is merged, I think we can close this, it should be showing up in the repos soon. There might be work needed to integrate updated changelogs, or other metadata.
Why is there no app icon in f-droid?
There is no icon in the fastlane structure here (metadata/en-US/images/icon.png is missing). And the app is using XML icons only it seems (no PNG), so no PNG there to be used.
TL;DR: can easily be fixed by providing the icon.png in metadata :wink:
Nice, the app is finally available on the F-Droid store (with the app icon for me) ! 🥳🥳
But the application crash when I try to open it for some reason... :/ @LionZXY Do you want to keep tracking that wrong build here or in another issue ? 🤔