callstack / react-native-image-editor

A library providing an API for cropping images from the web and the local file system.
MIT License
383 stars 118 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 8 months ago

Thalutn5 commented 8 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 8 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 8 months ago

I see, Thanks you @retyui for your informations

Thalutn5 commented 8 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 8 months ago

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