Repository navigation
chore(android): libraries compile against API 36 (ENG-605 PR2) - #735
Merged
Merged
Conversation
islandbitcoin
changed the base branch from
chore/eng-605-android-toolchain
to
main
September 24, 2026 20:44
compileSdk/targetSdk stay at 35 here; this makes every native dependency
inherit rootProject.ext so the API 36 bump (PR3) is a two-line change.
- @notifee/react-native ^7.8.2 (7.9.0, compileSdk 33) -> ^9.1.8, plus
patch-package so its android/build.gradle inherits rootProject.ext
compile/target/minSdk (9.1.8 still hardcodes 34). JS API used
(requestPermission/createChannel/displayNotification) is unchanged.
ios/Podfile.lock: RNNotifee 7.9.0 -> 9.1.8.
- @breeztech/react-native-breez-sdk-liquid 0.11.13: patched (no newer
release exists; hardcoded compileSdk/targetSdk 34 -> rootProject.ext).
- react-native-plaid-link-sdk 12.8.3: patched (compileSdk/targetSdk 34 ->
rootProject.ext). Not bumped: 12.8.5 requires iOS Plaid ~>6.5 and a
higher deployment target than 15.1; 13.x is an Expo module.
- react-native-image-picker 8.2.1: patched (hardcoded 35/34 ->
rootProject.ext). Found by the node_modules build.gradle sweep.
- @galoymoney/react-native-geetest-module 0.1.5: still used by
useGeetestCaptcha (phone login). Existing patch now reads
compileSdkVersion/buildToolsVersion/minSdkVersion/targetSdkVersion from
rootProject.ext; the android-31 GeetestModule_* pin in gradle.properties
is removed.
- react-native-fingerprint-scanner, react-native-html-to-pdf,
react-native-secure-key-store: all in use; already inherit via
safeExtGet('compileSdkVersion', ...), no change needed.
Verified: assembleRelease (arm64-v8a) BUILD SUCCESSFUL with a temporary
compileSdk 36 / build-tools 36.0.0 (not committed) and with the committed
35; yarn check-code, eslint, yarn test (1109 tests) green.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
islandbitcoin
force-pushed
the
chore/eng-605-lib-sdk-bumps
branch
from
September 24, 2026 20:45
09c9ee0 to
dca3c28
Compare
islandbitcoin
added a commit
that referenced
this pull request
Sep 24, 2026
ENG-605 PR3. Stacked on #733 (AGP 8.9.3 / Gradle 8.11.1) and #735 (every native dependency now inherits rootProject.ext), so this is the two-line bump those prepared for: - compileSdkVersion 35 -> 36 - buildToolsVersion 35.0.0 -> 36.0.0 targetSdkVersion stays at 35 (PR5), minSdkVersion unchanged, so there is no runtime behaviour change: the app is compiled against the API 36 headers but Android still applies API 35 compatibility behaviour. AGP 8.9.3 supports compileSdk 36 natively; no android.suppressUnsupportedCompileSdk entry was needed in gradle.properties. CI is unchanged: both Android workflows install only platform-tools and let Gradle fetch the pinned platform/build-tools. Verified locally (platforms;android-36 + build-tools;36.0.0): assembleRelease and assembleDebug (arm64-v8a) BUILD SUCCESSFUL, all 8 libraries that print a compileSdk report "using custom value: 36"; yarn tsc:check clean; yarn test 1161 passed. Co-authored-by: Dread <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
Part 2 of ENG-605. Stacked on #733 (AGP 8.9.3 / Gradle 8.11.1).
compileSdkVersion/targetSdkVersionstay at 35 in this PR; the goal is that every native dependency inheritsrootProject.ext, so PR3 (the actual 36 bump) is a two-line change.Libraries
@notifee/react-native^7.8.2(7.9.0, compileSdk 33)^9.1.8+ patch-packagecompileSdkVersion = 34; the patch makes compile/target/minSdk inheritrootProject.ext. The three APIs we call (requestPermission,createChannel,displayNotification) are unchanged.ios/Podfile.lock: RNNotifee 7.9.0 → 9.1.8.@breeztech/react-native-breez-sdk-liquidrootProject.ext. No JS change (app is migrating off Liquid anyway).react-native-plaid-link-sdkPlaid ~> 6.5.0, which needs a deployment target above our 15.1 (pod installfails); 13.x is an Expo module. Patch: compileSdk/targetSdk →rootProject.ext.use-plaid-link.tsuntouched.react-native-image-pickernode_modules/**/android/build.gradlesweep; latest release. →rootProject.ext.@galoymoney/react-native-geetest-moduleandroid-31viagradle.propertiesuseGeetestCaptchainrequest-phone-code-login.ts), so kept. Patch now readscompileSdkVersion/buildToolsVersion/minSdkVersion/targetSdkVersionfromrootProject.ext; theGeetestModule_*lines inandroid/gradle.propertiesare gone.react-native-fingerprint-scanner,react-native-html-to-pdf,react-native-secure-key-storebuild.gradlealready resolvesrootProject.ext.compileSdkVersionviasafeExtGet; the low numbers are only fallbacks.Sweep: every other
node_modules/*/android/build.gradleandnode_modules/@*/*/android/build.gradleeither inherits viarootProject.ext/safeExtGetor already targets ≥ 36.Verification
API 36 proof (temporary, not committed). With
compileSdkVersion = 36andbuildToolsVersion = "36.0.0"inandroid/build.gradle(platforms;android-36+build-tools;36.0.0installed via sdkmanager):Result:
BUILD SUCCESSFUL in 6m 12s, 2223 tasks executed. Log shows:notifee_react-native:android.compileSdk using custom value: 36(the patch takes effect). Both lines were then reverted;git diff android/build.gradleis empty.Committed state (35). Same commands:
BUILD SUCCESSFUL in 54s(474 executed, 1749 up-to-date),app-arm64-v8a-release.apk= 105,067,976 bytes, debug-keystore signed.yarn check-codeclean (tsc, translations, codegen, graphql).yarn eslintonpush-notification.tsx,use-plaid-link.tsclean.yarn test: 110 suites, 1109 tests passed.pod installran via postinstall; only RNNotifee changed inPodfile.lock.Generated bundle /
drawable-*assets were not committed.Device test should cover
displayNotificationon Android and iOS.Not verified here: no device run; iOS was only
pod install, not an Xcode build.🤖 Generated with Claude Code