@sigmayun/react-native-vconsole

0.0.9 • Public • Published

@sigmayun/react-native-vconsole

vConsole for react native, inspired by vconsole & vconsole-react-native &rnvconsole. Debugger on top of screen. Have a try in expo https://snack.expo.io/SklJHMS3S

Features

  1. console[log, warn, error, info] in Log Panel.
  2. Network request list & detail.
  3. Customized Version Info you want to show.

Install

$ yarn add @sigmayun/react-native-vconsole

Usage

import VConsole from '@sigmayun/react-native-vconsole'
/* INFO is optional */
const appInfo = {
  version: '1.0.0',
  test_version: '4',
  message: 'test xxx features'
}

// in render function
render() {
  return (
    <View>
      <VConsole appInfo={appInfo} />
      <View></View>
    </View>
  )
}

Examples

Log Panel

Network Panel

Info Panel

Dev Button

Package Sidebar

Install

npm i @sigmayun/react-native-vconsole

Weekly Downloads

12

Version

0.0.9

License

MIT

Unpacked Size

15.3 kB

Total Files

8

Last publish

Collaborators

  • backlight_xiao
  • cxk_mz
  • zhyafe