Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.34 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.34 KB

@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