GithubHelp home page GithubHelp logo

Comments (39)

IzzySoft avatar IzzySoft commented on August 20, 2024 10

Quick hints:

  • establish Fastlane structures here in your repo (minimum: short_description.txt & full_description.txt for en-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 😃

With more details: F-Droid for advanced users and developers (shameless self-promotion of my article 🙈)

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024 4

I am going to add toggle for disabling analytics for FDroid users

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024 2

I would also like to say a big thanks to @BoBeR182 for doing this. And to other contributors

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024 1

Can we reopen this until it's included?

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024 1

https://gitlab.com/fdroid/fdroiddata/-/merge_requests/11685 for tracking and help.

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024 1

I guess it's up to @BoBeR182 currently to accept the suggested changes in the MR.

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024 1

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.

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024 1

@LionZXY a new version just needs a new non-prerelease release, fdroid will automatically rebuild and deploy.

from flipper-android-app.

mrusme avatar mrusme commented on August 20, 2024 1

Happy to see this app on F-Droid! However, is there a chance to get rid of this?

This app tracks and reports your activity

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024 1

By removing Sentry (or making it strictly opt-in) I guess? See the above linked MR.

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024 1

Great, thanks! To have the anti-feature removed it must be gone entirely or default to "off", though (see above: removing, or strictly opt-in).

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

Look cool

from flipper-android-app.

RoiArthurB avatar RoiArthurB commented on August 20, 2024

If you need some help, I think @IzzySoft can help you :)

from flipper-android-app.

hornetfighter515 avatar hornetfighter515 commented on August 20, 2024

I came here to suggest this! Would really like to see this feature or contribute if I can.

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

Can I sign the f-droid APK with my signature? How?

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

Not directly. But what you're probably looking for is a dual-signed APK (carrying yours and F-Droids signature). Look for reproducible builds.

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

Any blockers that I can help with or things that need to still be completed?

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

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!

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

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.

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

Some issues where flagged here, https://gitlab.com/fdroid/rfp/-/issues/2187 mainly insecure Gradle configuration.

from flipper-android-app.

Flash1232 avatar Flash1232 commented on August 20, 2024

How can we help get this through?

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

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

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

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

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

@IzzySoft any ideas on this one, https://gitlab.com/BoBeR182/fdroiddata/-/jobs/3221854075
You last recommendation helped.

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

Yeah, looks much better already – and the build actually started 😃

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.

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

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

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

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

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

@BoBeR182 have you signed it? The CI spits out an unsigned APK.

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

I assumed a rooted phone can just install unsigned APKs, I will learn how to self sign and try again.

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

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).

from flipper-android-app.

BoBeR182 avatar BoBeR182 commented on August 20, 2024

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

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

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.

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

Why is there no app icon in f-droid?

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

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 😉

from flipper-android-app.

RoiArthurB avatar RoiArthurB commented on August 20, 2024

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 ? 🤔

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

It's funny - it turns out no one has tested the version. No DSN for Sentry, I will add to upstream now

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

This is very strange, I do not understand the reason for the crash

java.lang.RuntimeException: Unable to get provider io.sentry.android.core.SentryInitProvider: java.lang.IllegalArgumentException: DSN is required. Use empty string to disable SDK.
   at android.app.ActivityThread.installProvider(ActivityThread.java:7493 undefined)
   at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999 undefined)
   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770 undefined)
                                                	at android.app.ActivityThread.-$Nest$mhandleBindApplication(Unknown Source:0)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134 undefined)
   at android.os.Handler.dispatchMessage(Handler.java:106 undefined)
   at android.os.Looper.loopOnce(Looper.java:201 undefined)
   at android.os.Looper.loop(Looper.java:288 undefined)
   at android.app.ActivityThread.main(ActivityThread.java:7898 undefined)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548 undefined)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936 undefined)
Caused by: java.lang.IllegalArgumentException: DSN is required. Use empty string to disable SDK.
   at ko.n1.d(Sentry.java:824 undefined)
   at ko.n1.c(Sentry.java:49 undefined)
   at io.sentry.android.core.SentryInitProvider.onCreate(SentryInitProvider.java:113 undefined)
   at android.content.ContentProvider.attachInfo(ContentProvider.java:2451 undefined)
   at android.content.ContentProvider.attachInfo(ContentProvider.java:2421 undefined)
   at io.sentry.android.core.SentryInitProvider.attachInfo(SentryInitProvider.java:15 undefined)
   at android.app.ActivityThread.installProvider(ActivityThread.java:7488 undefined)
   at android.app.ActivityThread.installContentProviders(ActivityThread.java:6999 undefined) 
   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6770 undefined) 
                                                	at android.app.ActivityThread.-$Nest$mhandleBindApplication(Unknown Source:0) 
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2134 undefined) 
   at android.os.Handler.dispatchMessage(Handler.java:106 undefined) 
   at android.os.Looper.loopOnce(Looper.java:201 undefined) 
   at android.os.Looper.loop(Looper.java:288 undefined) 
   at android.app.ActivityThread.main(ActivityThread.java:7898 undefined) 
   at java.lang.reflect.Method.invoke(Native Method) 
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548 undefined) 
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936 undefined) 

from flipper-android-app.

LionZXY avatar LionZXY commented on August 20, 2024

What do I have to do to update the version in the F-Droid?
@IzzySoft

from flipper-android-app.

IzzySoft avatar IzzySoft commented on August 20, 2024

@LionZXY we usually set up apps for auto-update. So tagging a new release should be sufficient. Should the update not turn up a few days later, check back with us. Even better, a few hours after tagging follow the build monitor, where it eventually should show up.

from flipper-android-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.