vconsole for react native
npm install rnvconsole
npm install rnvconsole
`Usage
`javascript
// Options
import RN from 'react-native'
import Native from '../native' // your own Module// Show app information in INFO panel
const INFO = {
version: '1.0.0',
test_version: '4',
message: 'test xxx features'
}
const options = {
info: INFO,
// global Object can be called in Command Input
global: {
rn: RN
native: Native
}
}
const RNVConsole = require('rnvconsole').showLogWhenDev(options)
// in render function
render() {
return (
{RNVConsole} // add RNVConsole somewhere in JSX
)
}
``



