0

I'm using react-native-camera to take pictures in my app. When I call capture, the promise takes forever (around ~5 seconds) to fulfill. Sometimes it's quicker (~2 seconds), but sometimes it never gets fulfilled at all as the callback never gets called.

Is this normal during development? Or is there a memory leak or some other sort of performance issue happening?

CoconutFred
  • 454
  • 3
  • 11

1 Answers1

1

According to me, In development mode, if you are using a bunch of logs in your code then it would take a time to click a pic. I have gone through the react-native camera lib there are lots of issues so, I would prefer to use react-native-image-picker.

Cheers:)

Codesingh
  • 3,316
  • 1
  • 11
  • 18