React Native Firebase
    Preparing search index...
    • Record a JavaScript Error.

      The JavaScript stack trace is converted into a mock native iOS or Android exception before submission. The line numbers in the stack trace (if available) will be relative to the javascript bundle built by your packager, after whatever transpilation or minimization steps happen. You will need to maintain sourcemaps to decode them if desired.

      const crashlytics = getCrashlytics();
      recordError(
      crashlytics,
      new Error('An error was caught')
      );

      Parameters

      • crashlytics: Crashlytics

        A crashlytics instance.

      • error: Error

        Expects an instance of Error; e.g. classes that extend Error will also be supported.

      • OptionaljsErrorName: string

        Optional string containing Javascript error name

      Returns void