shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 323 forks source link

TypeError: undefined is not an object (evaluating 'ProcessingUI.Constants') #320

Closed LiaqatSaeed closed 3 years ago

LiaqatSaeed commented 3 years ago

Current Behavior

Getting following errors on build of project

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. ERROR TypeError: undefined is not an object (evaluating 'ProcessingUI.Constants') ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication) ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

Expected Behavior

Video processing module should work properly

Getting erros on IOS

software version
react-native-video-processing 2.0.0
react-native 0.63.2
node
eshraj302 commented 3 years ago

Yes, i am having the same issue on IOS.

LiaqatSaeed commented 3 years ago

Yes, i am having the same issue on IOS.

Any Solution you got for this?

eshraj302 commented 3 years ago

Yes, i am having the same issue on IOS.

Any Solution you got for this?

Sadly no...still same issue persists

LiaqatSaeed commented 3 years ago

@shahen94 Can you please look into this issue?

eshraj302 commented 3 years ago

Hi @LiaqatSaeed , Please try linking the package manually, that solved the issue for me, now it's working fine.

LiaqatSaeed commented 3 years ago

Hi @LiaqatSaeed , Please try linking the package manually, that solved the issue for me, now it's working fine.

can you please share your steps?

eshraj302 commented 3 years ago

I followed the official docs for linking the ios library, you can also look at the video for ease of understanding: https://www.youtube.com/watch?v=HRjgeT6NQJM&feature=youtu.be