Handle apps with older targetSdk that cannot be installed on Android 14

Background

https://android-developers.googleblog.com/2023/10/android-14-is-live-in-aosp.html#:~:text=Block%20installation%20of%20apps%20targeting%20older%20SDK%20versions

To protect against malware that targets older API levels to bypass security and privacy protections, apps with a targetSdkVersion lower than 23 cannot be installed on Android 14.

curl -s https://f-droid.org/repo/index-v2.json | jq -c '.packages[] | [.versions[]] | max_by(.manifest.versionCode) | select(.manifest.usesSdk.targetSdkVersion < 23) | .file.name' that is 1145 apps: https://pastebin.mozilla.org/VjP39Kmo

  • Device OS and version: Android 14
  • Device model/manufacturer: Any
  • F-Droid version (in the About screen): 1.17.0
  • F-Droid privileged extension version (if installed): N/A

What did you do? (clear steps if possible)

Try to install https://f-droid.org/en/packages/com.eolwral.osmonitor/

What did you expect to see?

Not shown at all / mentioned as incompatible

What did you see instead?

Failed to install due to unknown error

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information