Skip to content

fix(android): require minSdk 26 for ML Kit Entity Extraction#5

Merged
pablogdcr merged 1 commit into
mainfrom
fix/android-minsdk-26
Jun 6, 2026
Merged

fix(android): require minSdk 26 for ML Kit Entity Extraction#5
pablogdcr merged 1 commit into
mainfrom
fix/android-minsdk-26

Conversation

@pablogdcr

Copy link
Copy Markdown
Owner

What

com.google.mlkit:entity-extraction:16.0.0-beta6 declares minSdk 26, but the library declared/documented minSdk 24. Any consumer at minSdk 24 fails the Android manifest merge:

uses-sdk:minSdkVersion 24 cannot be smaller than version 26 declared in library
[com.google.mlkit:entity-extraction:16.0.0-beta6]

So the library was never actually installable at its documented floor. This corrects it.

Changes

  • android/build.gradle: minSdkVersion fallback 24 → 26.
  • README Requirements: API 24+ → 26+, with expo-build-properties guidance.
  • CHANGELOG note (under [Unreleased]).
  • Example app: build at minSdk 26 via expo-build-properties so it compiles.

How found

Surfaced while building the example on an Android emulator to validate the feature work.

com.google.mlkit:entity-extraction:16.0.0-beta6 declares minSdk 26, so any app at
minSdk 24 fails the Android manifest merge — the library was never installable at
its documented floor of 24. Bump the declared minSdkVersion fallback to 26 and
update the README requirement. Also configure the example app to build at minSdk 26
via expo-build-properties.
@pablogdcr pablogdcr merged commit 103d781 into main Jun 6, 2026
4 checks passed
@pablogdcr pablogdcr deleted the fix/android-minsdk-26 branch June 6, 2026 09:01
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