Skip to content

Bump Android minSdk to 31#529

Merged
brandonpage merged 1 commit into
forcedotcom:devfrom
brandonpage:bump-min-api-31
Jun 4, 2026
Merged

Bump Android minSdk to 31#529
brandonpage merged 1 commit into
forcedotcom:devfrom
brandonpage:bump-min-api-31

Conversation

@brandonpage

@brandonpage brandonpage commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps minSdk from 28 to 31 across all 4 native Kotlin templates (AndroidNativeKotlinTemplate, AndroidNativeLoginTemplate, AndroidIDPTemplate, MobileSyncExplorerKotlinTemplate) and all 4 React Native templates.
  • Drops dead @RequiresApi(Q) annotation in PushNotificationsAdapter.kt.
  • Collapses now-constant SDK_INT >= S dynamic-color branch in AndroidNativeLoginTemplate/NativeLogin.kt (LoginTheme).

Test plan

  • test_template.sh builds each Android template successfully
  • test_template.sh builds each RN template successfully
  • Manual: verify generated app from each template runs on an API 31 device

🤖 Generated with Claude Code

Update all native and React Native templates. Remove dead API < 31 branches.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

@JohnsonEricAtSalesforce JohnsonEricAtSalesforce left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@brandonpage brandonpage merged commit bb74f75 into forcedotcom:dev Jun 4, 2026
24 checks passed
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.

3 participants