Skip to content

Add rnrepo config to expo-example#4151

Merged
m-bert merged 1 commit into
mainfrom
@mbert/fix-rnrepo
May 7, 2026
Merged

Add rnrepo config to expo-example#4151
m-bert merged 1 commit into
mainfrom
@mbert/fix-rnrepo

Conversation

@m-bert
Copy link
Copy Markdown
Collaborator

@m-bert m-bert commented May 7, 2026

Description

After merging #4141 our expo-example stopped working, throwing errors in Gesture Handler module on Android.

From Claude:

  1. RNRepo was supplying a stale prebuilt binary for expo-example

apps/expo-example/android/app/build.gradle applies the RNRepo plugin unconditionally (unlike basic-example which gates it on CI=1). Because there was no rnrepo.config.json in apps/expo-example/, the denyList at the repo root wasn't found. RNRepo injected the prebuilt react-native-gesture-handler@2.29.0 binary, which predates the setReanimatedAvailable TurboModule binding and doesn't have it registered.

Test plan

Run expo-example

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an rnrepo.config.json specific to apps/expo-example so RNRepo can correctly apply the denylist when the Expo example is built, preventing RNRepo from injecting a stale prebuilt react-native-gesture-handler binary (notably on Android).

Changes:

  • Add apps/expo-example/rnrepo.config.json with a denylist for react-native-gesture-handler on Android and iOS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@m-bert m-bert merged commit 1f224c4 into main May 7, 2026
4 checks passed
@m-bert m-bert deleted the @mbert/fix-rnrepo branch May 7, 2026 07: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.

3 participants