0

I am getting an error as

"Illegal callback invocation from native module. This callback type only permits a single invocation from native code."

I have used react-native-image-crop-picker to crop an image, now If I choose the cropped image I am getting the above error.

ravibagul91
  • 20,072
  • 5
  • 36
  • 59
sejn
  • 2,040
  • 6
  • 28
  • 82

1 Answers1

0

You need to provide example of your code and how are you using the callbacks from the native code. But in general you can only invoke a callback from native code only once. However you can store callback and call it later as well. More info on callbacks in general: https://facebook.github.io/react-native/docs/native-modules-ios#callbacks

user966123
  • 631
  • 1
  • 9
  • 18