This is a local Expo SDK 54 app for developing and manually testing the native editor package in this repository.
The package currently requires Expo Modules, and Expo SDK 54 is the minimum version tested in this repo.
It is intended for:
- focus and keyboard dismissal checks
- toolbar interactions
- list and line break behavior
- theme iteration under Fast Refresh
- native iOS and Android verification
From the repository root:
cd example
npm installThis package contains native code, so you need to generate the native projects before building:
npm run prebuildThis runs expo prebuild --clean, creating the ios/ and android/ directories. Re-run this after any native dependency change or Expo config update.
From the repository root:
npm run example:ios
npm run example:androidOr directly inside example/:
npm run ios
npm run android- This package contains native code — use a development build, not Expo Go.
- The example app depends on the local package via
file:... - If you change native code or Rust bindings, rebuild the app after updating the package binaries.
- If the native build fails after pulling new changes, try running prebuild again.
- The example screen uses app-level keyboard avoidance on iOS around the outer
ScrollView. That matches a screen-level form or playground. - On Android, the example relies on the activity's
adjustResizebehavior instead of stackingKeyboardAvoidingViewon top of the native editor insets. - The editor still manages its own internal caret visibility and fixed-height scrolling. Screen-level keyboard avoidance and native editor viewport handling are complementary, not interchangeable.