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 #149

Closed Thalutn5 closed 3 months ago

Thalutn5 commented 3 months ago

Environment

"react-native": "0.63.5" "@react-native-community/image-editor": "4.1.0"

image

image

Description

Hiii, Im facing an issue with ImageEditor when Im running IOS on simulator, it will 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'.

image

Thie error only happen in IOS, can you help me fix this issue? Thank youuu

retyui commented 3 months ago

Hi @Thalutn5, the new versions of this library support only 3 last React Native 0.73, 0.72, 0.71 versions

Thalutn5 commented 3 months ago

I see, Thanks you @retyui for your informations

Thalutn5 commented 3 months ago

anyway, why my podfile.lock has no react-native-image-editor (4.1.0) in it but appears in podfile.lock if the version of react-native-image-editor is 2.3.0?

image

retyui commented 3 months ago

I cannot guarantee that autolinker on RN 0.63.x will work properly with the new version of this library