chore(android): lower minSdk to 21 to match native SDK floor#34
Draft
mahmoud-elmorabea wants to merge 1 commit into
Draft
chore(android): lower minSdk to 21 to match native SDK floor#34mahmoud-elmorabea wants to merge 1 commit into
mahmoud-elmorabea wants to merge 1 commit into
Conversation
Lower the Android floor from 24 to 21 (jist library + example app) so Jist matches the customerio-android SDK's minSdk and can be consumed everywhere the SDK is supported. java.time usage is already covered by the existing core-library desugaring; Coil3 and the Compose BOM support API 21. Enforce NewApi lint as an error on the jist library so any future above-floor API call without a version guard fails the build. compileSdk is intentionally left at 35 (AGP 8.7.3) to keep the change surgical and avoid shifting Paparazzi baselines. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lowers the Android floor from 24 → 21 (jist library + example app) so Jist matches the
customerio-androidSDK'sminSdkand can be consumed everywhere that SDK is supported. First step of the Visual Inbox "Jist publishing foundation" milestone.Changes
android/jistandandroid/example:minSdk 24 → 21.android/jist: enforceNewApilint as an error so any future above-floor API call without a version guard fails the build.Notes
java.time(Instant/ZoneId/DateTimeFormatter), already covered by the existing core-library desugaring. Coil3 and the Compose BOM support API 21. No source changes were needed.compileSdkis intentionally left at 35 (AGP 8.7.3) to keep the change surgical and avoid shifting Paparazzi baselines.Validation
./gradlew :jist:lintDebug— green (NewApi as error, no violations at the new floor)../gradlew :example:verifyPaparazziDebug— green against the existing baselines (no re-recording; any snapshot diff would be treated as a regression from this bump).🤖 Generated with Claude Code