Close native application after take a picture

I writing native app with take picture module. Sometimes when I try take a picture application crashed. In logs I found   6532  6597 I ReactNativeJNI: Memory warning (pressure level: TRIM_MEMORY_RUNNING_CRITICAL) received by JS VM, running a GC I think that on mobile when open a camera and after take picture try to back to my application android closed my application.  Anyone have similar problem? I paste my code in bottom.  
0 answers