react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

Camera crash

Open Neha0595 opened this issue 4 years ago • 9 comments

Version

Tell us which versions you are using:

  • react-native-image-crop-picker - latest
  • react-native v0.62

Platform

Tell us to which platform this issue is related

  • Android (Samsung Galaxy)

Expected behaviour

Camera doesn't behave as expected

Actual behaviour

Camera is crashing

Steps to reproduce

  1. click image from camera then

  2. Select done then it crash

Other Info

Device Specific issue not occurring in other devices

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

Neha0595 avatar Jan 21 '21 10:01 Neha0595

same here did you find any solution regarding app crash. My app is restart when i upload the image from the camera.

gulsher7 avatar Jan 24 '21 15:01 gulsher7

I'm getting the same issue when taking a photo with openCamera(). I have two Oppo A5's, both on Android 10. One of them it crashes, the other one works fine. Not getting any crash reports into Sentry either which is strange.

lewisbird avatar Feb 05 '21 11:02 lewisbird

I got the issue resolved - for me, flipper was the problem. If you are using React-Native version > 0.60 try -

@override public void onCreate() { super.onCreate(); SoLoader.init(this, /* native exopackage */ false); // initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); -------> commenting this line helped }

in MainApplication.java

akanksha-agarwal93 avatar Feb 25 '21 10:02 akanksha-agarwal93

same here did you find any solution regarding app crash. My app is restart when i upload the image from the camera.

Same here, my app is restarting when tick button is clicked after taking picture

Sruthinaga avatar Sep 15 '21 05:09 Sruthinaga

its the bug from the npm package .... can help with it

suraj7845 avatar Oct 26 '21 10:10 suraj7845

same problem, help.

BLOCKMATERIAL avatar Nov 22 '21 14:11 BLOCKMATERIAL

same issue,

Failure delivering result ResultInfo{who=null, request=61111, result=-1, data=null} to activity {com.testapp/com.testapp.MainActivity}: java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter data

SomnathKadam avatar Mar 09 '22 05:03 SomnathKadam

Hi Guys, I'm having same issue. i'm using latest react native and react-native-image-crop-picker. But my app getting crashed while user taking picture on camera on specific mobiles like Redmi Note 7. Can anyone please help me out of this issue. I'm checking about this issue from last 2 days. I couldn't find any solution for this.

aparnagude396 avatar Aug 05 '22 11:08 aparnagude396

Hi Guys, I'm having same issue. i'm using latest react native and react-native-image-crop-picker. But my app getting crashed while user taking picture on camera on specific mobiles like Redmi Note 7. Can anyone please help me out of this issue. I'm checking about this issue from last 2 days. I couldn't find any solution for this.

The only thing we came up with with the team to solve this problem are two options

1.Use vision-camera, write your own approach for working with the camera. 2.Leave it as it is.

BLOCKMATERIAL avatar Aug 12 '22 15:08 BLOCKMATERIAL

I am using the 0.38.0 version. App crashes after clicking photo and video. Please help.

parthasarathi95 avatar Jul 14 '23 04:07 parthasarathi95