Skip to content

chore(example): upgrade to Expo SDK 53 and add Android 16 KB support#254

Open
ayseboogie wants to merge 3 commits into
farhoudshapouran:mainfrom
ayseboogie:fix/android-16kb-page-size
Open

chore(example): upgrade to Expo SDK 53 and add Android 16 KB support#254
ayseboogie wants to merge 3 commits into
farhoudshapouran:mainfrom
ayseboogie:fix/android-16kb-page-size

Conversation

@ayseboogie

@ayseboogie ayseboogie commented May 26, 2026

Copy link
Copy Markdown

Summary

  • Upgrade the example app to Expo SDK 53 / React Native 0.79.6, and verify it runs on iOS Simulator and Android Emulator.
  • Enable Android 15+ 16 KB compatibility for the example workflow by patching React Native's NDK pin to 28.0.13004108 via patch-package.
  • Keep generated native prebuild output (example/android, example/ios) out of git for a cleaner OSS contributor flow.
  • Improve local package-linking reliability in the example app (metro.config.js, babel.config.js, tsconfig.json).
  • Remove hardcoded example app package identifiers from example/app.json to keep the sample generic for open source use.

Why

Android 15+ devices with 16 KB page sizes can flag apps built with older NDK alignment defaults. This PR updates the example setup so contributors can run the project on modern emulators/devices more reliably, while keeping the repo clean and contributor-friendly.

Validation

  • yarn example android builds, installs, and launches on Android emulator.
  • yarn example ios launches on iOS simulator.
    android
resized_Screenshot_1779849504

ios
resized_Simulator Screenshot - iPhone 17 - 2026-05-26 at 22 44 03

@ayseboogie ayseboogie changed the title chore(example): upgrade to expo sdk 53 and add android 16kb support chore(example): upgrade to Expo SDK 53 and add Android 16 KB support May 26, 2026
@ayseboogie ayseboogie marked this pull request as draft May 26, 2026 17:44
- Upgrade example app to Expo SDK 53 / React Native 0.79.6

- Add patch-package to patch React Native NDK version to 28.0.13004108

- This enables 16 KB ELF alignment for 64-bit Android architectures

- Ignore example/android and example/ios directories (Expo prebuild output)
@ayseboogie ayseboogie force-pushed the fix/android-16kb-page-size branch from ace69b3 to 9c88fba Compare May 26, 2026 18:18
@ayseboogie ayseboogie marked this pull request as ready for review May 26, 2026 18:27
Switch example entry to expo-router and restore matching app assets/plugins.
Add missing Expo Router stack dependencies so example startup resolves correctly.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ayseboogie ayseboogie marked this pull request as draft May 26, 2026 19:09
Restore the example home screen as a date picker playground.
Wire aliases so Expo Router and root dependencies resolve.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ayseboogie ayseboogie marked this pull request as ready for review May 27, 2026 02:46
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