Skip to content

build: raise offline flavor minSdk from 21 to 23 - #818

Merged
LeanBitLab merged 1 commit into
mainfrom
chore/offline-min-sdk-23
Nov 15, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
chore/offline-min-sdk-23

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Summary of Changes

The offline flavor now requires Android 6.0 (SDK 23), the same as standard.

Motivation & Context

Android 6.0 is the supported minimum. lintOfflineDebug reported about 295 errors that exist only because the flavor declared minSdk = 21 (267 InvalidVectorPath, 19 LongLogTag, 9 NewApi for View.setForeground and Paint.hasGlyph). lintStandardDebug, with the same sources at minSdk 23, reports none.

Changes Made

  • app/build.gradle.kts: offline flavor minSdk 21 to 23, and defaultConfig aligned (both flavors override it).
  • README.md and docs/FEATURES.md: Offline flavor minimum is now Android 6.0+ (SDK 23).
  • Not changed: past release notes (they describe what was true then). The behaviour change goes into the next release's notes when that release is cut.

Verification & Testing

  • lintOfflineDebug: 0 errors (was 295)
  • assembleOfflineDebug builds
  • Not tested on a device

User impact

Devices on Android 5.0 and 5.1 can no longer install or update the offline flavor.

Guidelines Checklist

  • This PR addresses a single focused concern.
  • Does not add unnecessary dependencies or binary blobs.
  • No em dashes used in comments, descriptions, or documentation.

Android 6.0 is the supported minimum. This clears the ~295 offline-only
lint errors that only apply below API 23 (vector paths, long log tags,
View.setForeground, Paint.hasGlyph). Align defaultConfig and the README
and FEATURES.md flavor tables.
@LeanBitLab
LeanBitLab merged commit 0c76e5d into main Nov 15, 2026
@LeanBitLab
LeanBitLab deleted the chore/offline-min-sdk-23 branch November 15, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ Proxy