Correct fix for scandeleted binaries in dependency

My app (com.madlonkay.orgro) recently started using an OpenPGP library that uses precompiled binaries.

(Specifically the Flutter “plugin” openpgp contains binaries from openpgp-mobile)

These binaries get deleted in the scandelete phase, resulting in OpenPGP operations failing at runtime. I am trying to understand what to do about this.

My best understanding is:

  • If I could exclude the relevant library from scandelete that would fix the problem, but this is not allowed per F-Droid policy
  • Thus what I should do is add openpgp-mobile as a srclib and build it as part of my app’s build phase

Is that correct?

Yes, that’s how you do it :+1:

OK, thanks!