callstack / react-native-image-editor

A library providing an API for cropping images from the web and the local file system.
MIT License
366 stars 117 forks source link

Prompt error that ' Error: Requiring module "src/component/index.tsx", which threw an exception: Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCImageEditor' could not be found. Verify that a module by this name is registered in the native binary'only happen in IOS #154

Closed houningjuanNew closed 2 months ago

houningjuanNew commented 2 months ago

3.1.1,3.2.0,4.0.0,4.2.0均存在TurboModuleRegistry.getEnforcing(...):'RNCImageEditor' could not be found.

react版本是0.73 image

retyui commented 2 months ago

ensure that you rebuild the iOS or Android app after installing pods.

SaadAhmadSaddiqui commented 2 months ago

I am running RN version 0.67, could I use the 4.2.0 version of the package? @retyui . If so, how do I fix the same issue as I am facing this right now.

retyui commented 2 months ago

@SaadAhmadSaddiqui 4.x & 3.x versions don't support RN 0.67 so you need to upgrade your React Native