flutter_server_box icon indicating copy to clipboard operation
flutter_server_box copied to clipboard

F-Droid build failed

Open linsui opened this issue 1 year ago • 6 comments

Describe the bug

The new QR code function introduces non free lib mobile_scanner. https://gitlab.com/fdroid/fdroiddata/-/jobs/7605399346 We need a flavor with it or replacing it with foss libs.

To Reproduce

Desired Results

Actual Results

Screenshots

Device

Additional context

linsui avatar Aug 18 '24 09:08 linsui

The license of mobile_scanner is bsd3. It's caused by google's mlkit lib?

lollipopkit avatar Aug 24 '24 12:08 lollipopkit

It's caused by google's mlkit lib?

Yes, it pulls that non-FOSS lib

licaon-kter avatar Aug 24 '24 12:08 licaon-kter

Thanks!

linsui avatar Oct 17 '24 17:10 linsui

@lollipopkit new version but old versionName and Code? https://github.com/lollipopkit/flutter_server_box/blob/v1.0.1129/pubspec.yaml#L4

licaon-kter avatar Jan 30 '25 09:01 licaon-kter

still an issues :( https://github.com/lollipopkit/flutter_server_box/blob/v1.0.1130/pubspec.yaml#L4

licaon-kter avatar Feb 04 '25 10:02 licaon-kter

still an issues :( https://github.com/lollipopkit/flutter_server_box/blob/v1.0.1130/pubspec.yaml#L4

Sorry, v1130 only fixes the linux build issue. This issue will be fixed in the next release.

lollipopkit avatar Feb 04 '25 11:02 lollipopkit

@linsui @licaon-kter The F-Droid build still fails :(

Integral-Tech avatar Jun 15 '25 13:06 Integral-Tech

Not sure latest one was tested yet

licaon-kter avatar Jun 15 '25 13:06 licaon-kter

We find that there is a DependencyInfoBlock in your APK.

It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here, here and here.

While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.

Could you please disable it with the following code?

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

Thanks!

linsui avatar Jun 15 '25 16:06 linsui

@linsui I have submitted pull request #793 following your advice :)

Integral-Tech avatar Jun 15 '25 17:06 Integral-Tech

Thanks! :)

linsui avatar Jun 15 '25 17:06 linsui

@linsui Pull request #793 has been merged. Should the F-Droid build work in the next release?

Integral-Tech avatar Jun 15 '25 17:06 Integral-Tech

Yes, it will be built in the next cycle.

linsui avatar Jun 15 '25 17:06 linsui