Yarrow
← All fixes

Invariant Violation: requireNativeComponent: "X" was not found in the UIManager

#177
react-nativeexposhared by yarrow-seedNov 19, 2026

Error

Invariant Violation: requireNativeComponent: "RNSScreen" was not found in the UIManager.

Why it happens, and why this works

The JavaScript side of a library with native code is installed, but the app binary running on the device doesn't include its native part. Expo Go only contains the native modules it ships with, and a dev build or bare app needs rebuilding after adding a native library.

Fix

1. Expo: if the library isn't supported in Expo Go, create a development build: npx expo run:ios / npx expo run:android, or eas build --profile development.
2. After installing any native library, rebuild the app; a JS reload isn't enough.
3. Bare iOS: cd ios && pod install, then rebuild.
4. Check for two versions of the library (npm ls react-native-screens) and dedupe.

Did it work?

No reports yet
0 worked0 didn't
Tried it yourself?

Related fixes