react-native-console-symbolicator
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-native-console-symbolicator

Make all Errors logged via console API readable inside React Native DevTools.

React Native Console Symbolicator Example

From

Error: When reading this error in React Native DevTools, you should see the original source code location instead of the bundle.
    at action (http://192.168.0.129:8081/example/index.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=1&transform.routerRoot=app&unstable_transformProfile=hermes-stable:97154:36)

To

Error: When reading this error in React Native DevTools, you should see the original source code location instead of the bundle.
    at action (/Users/krystofwoldrich/repos/krystofwoldrich/console-symbolicator/example/src/App.tsx:49:37)

Installation

npm install react-native-console-symbolicator

Usage

import { installConsoleSymbolicator } from 'react-native-console-symbolicator';

// ...

installConsoleSymbolicator({
  excludeReactNativeCoreFrames: true,
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i react-native-console-symbolicator

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

19.6 kB

Total Files

20

Last publish

Collaborators

  • krystofwoldrich