title: How to track React Native fatal and non-fatal crashes with Firebase Crashlytics
body: <p>I want to know how can i catch my <strong>React Native app crashes (in release mode)</strong> and send it into <strong>firebase crashlytics dashboard</strong></p>
  
  <p>I am not found how can i catch <strong>fatal</strong> crashes.
  But i have the code example which helps me catching the <strong>non-fatal</strong> crashes and sending it to the <strong>Firebase Crashlytics</strong> dashboard.</p>
  
  <pre><code>const sendReport = async (error,errorInfo) =&gt; {
      await Promise.all([
          crashlytics().setAttribute("Additional_Information", errorInfo),
      ]);
      crashlytics().log(errorInfo);
      crashlytics().recordError(error);
  };
  
  // At first i placed my code into TRY and CATCH block
  try{
   //some code which has error
  }catch (error) {
    sendReport(error,"information about place of crash")
  }
  
  //I have the example with Network requests
  fetch(url)
      .catch((error) =&gt; {
         sendReport(error,url)
         // i am sending url for know from which url i am getting the error
      })
  </code></pre>
  
  <p>My questions are these</p>
  
  <pre>
  Need i use <b>TRY{}CATCH(e){}</b> block everywhere for tracking <b>non-fatal crashes</b> ???
  How can i track <b>Fatal crashes</b> ?
  How can i do the dashboard crashes human-readable ? for example
      For Android its gives me "index.android.bundle:502:784"
      For iOS its gives me "index.bundle:30378:18 line 30378"
      Thats why i am sending additional information with crash
      for knowing information about place of crash
  </pre>