Skip to content

16 KB memory page size support - #622

Merged
Nodirbek75 merged 3 commits into
mainfrom
fix/16KB-page-size
Apr 30, 2026
Merged

Nodirbek75 merged 3 commits into
mainfrom
fix/16KB-page-size

Conversation

@Nodirbek75

Copy link
Copy Markdown
Contributor

No description provided.

@Nodirbek75 Nodirbek75 self-assigned this Apr 28, 2026
@Nodirbek75 Nodirbek75 linked an issue Apr 28, 2026 that may be closed by this pull request

@islandbitcoin islandbitcoin 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.

Tested successfully. ACK

@linear

linear Bot commented Apr 30, 2026

Copy link
Copy Markdown

@Nodirbek75
Nodirbek75 merged commit 89f99f9 into main Apr 30, 2026
islandbitcoin added a commit that referenced this pull request Sep 24, 2026
…05) (#733)

PR1 of the ENG-605 sequence: move the Android toolchain forward so the
compileSdk/targetSdk 36 bump (PR2+) lands on a supported plugin. SDK
levels are unchanged in this PR (compileSdk/targetSdk stay 35, minSdk
26, Kotlin 2.0.21, NDK 27.1.12297006).

- Android Gradle Plugin 8.7.2 -> 8.9.3 (latest 8.9.x)
- Gradle wrapper 8.10.2 -> 8.11.1 (AGP 8.9 minimum), with the
  distribution sha256 pinned
- drop the explicit com.android.tools:r8 classpath pin and the
  r8-releases maven repo: the pin was introduced with breez-sdk-liquid
  (#248) and kept in lockstep with the AGP-bundled R8 (#622 bumped it to
  8.7.18 = AGP 8.7.2's own), so it was a no-op; AGP 8.9.3 resolves its
  bundled R8 on its own
- drop android.aapt2Version=8.6.1-11315950 (gradle.properties and the
  .example): added in #441 for the targetSdk 35 bump with no recorded
  reason, and android-deploy.yml already builds release without it
- android/app/build.gradle: make the app's configureCMake* tasks depend
  on every library's generateCodegenArtifactsFromSchema. AGP 8.8+ no
  longer routes configureCMake through each library's preBuild, so
  codegen-only autolinked libs (react-native-config, async-storage,
  clipboard, netinfo, ...) had no codegen/jni dir yet when the app's
  CMake configure ran and RN 0.77's Android-autolinking.cmake failed
  with "add_subdirectory given source ... not an existing directory".
  Verified: same tree builds on AGP 8.7.2, fails on 8.9.3 without this
  edge, builds on 8.9.3 with it.

Co-authored-by: Dread <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
@islandbitcoin islandbitcoin mentioned this pull request Sep 24, 2026
26 tasks
islandbitcoin pushed a commit that referenced this pull request Sep 24, 2026
ENG-605 PR5. targetSdkVersion 35 -> 36 in android/build.gradle;
compileSdk/buildTools were already 36 (#739), minSdk 26 unchanged.

Sets android:enableOnBackInvokedCallback="false" on <application>.
Android 16 enables predictive back for apps targeting 36 and stops
calling Activity.onBackPressed(); RN 0.77.1's ReactActivity only
overrides onBackPressed() (the OnBackPressedCallback registration
landed in RN 0.80), and that override is the only path that emits the
JS hardwareBackPress event. This app is on @react-navigation/stack
(JS stack) and react-native-modal's onBackButtonPress, both driven by
that event, so without the opt-out a back press on an Android 16
device would leave the app from any screen. Remove the attribute when
RN is bumped to 0.80+.

Everything else in the Android 16 audit (edge-to-edge + adjustResize,
screenOrientation on large screens, StatusBar backgroundColor no-ops,
FGS/exact-alarm/NFC permissions, 16 KB packaging from #622) is a
documented no-change; see the PR body.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
islandbitcoin added a commit that referenced this pull request Sep 24, 2026
ENG-605 PR5. targetSdkVersion 35 -> 36 in android/build.gradle;
compileSdk/buildTools were already 36 (#739), minSdk 26 unchanged.

Sets android:enableOnBackInvokedCallback="false" on <application>.
Android 16 enables predictive back for apps targeting 36 and stops
calling Activity.onBackPressed(); RN 0.77.1's ReactActivity only
overrides onBackPressed() (the OnBackPressedCallback registration
landed in RN 0.80), and that override is the only path that emits the
JS hardwareBackPress event. This app is on @react-navigation/stack
(JS stack) and react-native-modal's onBackButtonPress, both driven by
that event, so without the opt-out a back press on an Android 16
device would leave the app from any screen. Remove the attribute when
RN is bumped to 0.80+.

Everything else in the Android 16 audit (edge-to-edge + adjustResize,
screenOrientation on large screens, StatusBar backgroundColor no-ops,
FGS/exact-alarm/NFC permissions, 16 KB packaging from #622) is a
documented no-change; see the PR body.

Co-authored-by: Dread <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

[Chore] - Update android to support 16 KB memory page sizes

2 participants