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?