adamgf / react-native-opencv3-tests

Sample react native apps that expose OpenCV functionality on both iOS and Android
Other
19 stars 14 forks source link

CvImageManipulations has started crashing after merges done on Nov 22 and 23, 2021 #118

Open jonathans1988 opened 2 years ago

jonathans1988 commented 2 years ago

Steps to Reproduce -

  1. Take fresh git clone of react-native-opencv3-tests repo
  2. cd CvImageManipulations
  3. npm install
  4. react-native run-android

Behavior -

App launches successfully. But on clicking any of the buttons (Histogram, Canny, Sobel etc.), the app first hangs and then crashes. Nothing comes in the logs. Device - Oneplus (Android 10)

Please note that this problem started happening only after November 22 and 23 changes. I had previously done the same steps on November 1 and the demo app was working flawlessly at that time.

iuri commented 2 years ago

Hello @jonathans1988 I'd recommend you download and install react-native-opencv3-tests. Then, you'll have 3 or 4 working demos, which you can reuse yin your own custom app.

Currently, we are running them in the RN release and dependencies:

"dependencies": {
   ...
   "react": "17.0.2",
   "react-native": "0.65.1",
   "react-native-fs": "^2.18.0",
  ...
   "react-native-opencv3": "^1.0.8",

...

So, I believe you won't have compatibility problems

Let us know if you were able to run react-native-opencv3-tests on IOS and Android.

iuri commented 2 years ago

... I forgot to mention where sources are: https://github.com/adamgf/react-native-opencv3-tests