Skip to content

[🐛] Bug Report Title - CHANGE ME #9029

@pragati-raut

Description

@pragati-raut

React Native Firebase Crashlytics shows "." prefix for JavaScript non-fatal error

io.invertase.firebase.crashlytics.JavaScriptError
.

Environment:

  • React Native project
  • Hermes enabled
  • @react-native-firebase/crashlytics
  • Android release builds
  • Source maps enabled using:
    hermesFlags = ["-O", "-output-source-map"]

Issue:
Crashlytics non-fatal JavaScript errors still appear with:
.

Example:
.
io.invertase.firebase.crashlytics.JavaScriptError - EVENT_ALREADY_EXECUTED (409): Cannot update executed event

What was already tried:

  • Custom Error classes extending Error
  • Setting Error.name
  • Preserving stack traces
  • Release builds only
  • Clean rebuilds
  • Hermes source maps enabled
  • crash.recordError(error, jsErrorName)
  • Testing without debug mode

Expected:
Readable JavaScript frame/function name instead of "." in Crashlytics issue title.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions