-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
The package is published, but it currently requires Expo Modules in the host app.
The minimum tested Expo version is SDK 54. Earlier Expo versions may work, but they are not currently validated by this repository.
The consuming app is expected to install:
exporeactreact-native@expo/vector-icons
These are peer dependencies because the package integrates directly with the host app’s React Native and Expo runtime.
This package is not a plain React Native native module. It is built on Expo Modules and currently expects an Expo-based native setup.
Supported integration shapes today:
- Expo app with a development build
- bare React Native app with Expo Modules configured
Unsupported shape:
- Expo Go
From the repository root:
npm install
npm --prefix example installThe repository includes an Expo SDK 54 example app under example.
Prebuild the native projects (required after a fresh clone or any native dependency change):
npm run example:prebuildThis runs expo prebuild --clean inside the example app, generating the ios/ and android/ directories with all native module wiring in place.
Start Metro:
npm run example:startRun iOS:
npm run example:iosRun Android:
npm run example:androidPrebuild runs pod install automatically. You only need to run it manually if you modify the Podfile or add iOS-specific dependencies outside of prebuild.
This package contains native code, so use a development build rather than Expo Go.
The expected consumer setup looks like:
npm install @apollohg/react-native-prose-editor
npx expo install expo react react-native @expo/vector-icons
npx expo prebuildThe expo prebuild step is required because this package includes native iOS and Android code. It generates the native projects with the correct module wiring.
For in-repo development, the linked example app remains the fastest way to verify native changes locally.
If the editor does not build correctly, check:
- you have run
expo prebuild(ornpx expo prebuild) to generate the native projects - the host app has the required peer dependencies installed directly
- there is only one version of each native dependency in the app
- iOS pods are installed (prebuild does this automatically)
- you are not trying to run the native module inside Expo Go
Copyright © 2026 Apollo Health Group Pty. Ltd.