
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@kafudev/react-native-vconsole
Advanced tools
vConsole for react native
$ yarn add @kafudev/react-native-vconsole
// or
npm i @kafudev/react-native-vconsole
可接受参数
interface PropsType {
appInfo?: {}
console?: boolean
panels?: {
title: string
component: React.ReactNode
}
}
import VConsole from '@kafudev/react-native-vconsole'
/* INFO is optional */
// in render function
render() {
return (
<View>
<VConsole
// 使用 'react-native-config-reader' 库获获取额外信息
appInfo={{
原生构建类型: ConfigReader.BUILD_TYPE,
原生版本号: ConfigReader.VERSION_NAME || ConfigReader.CFBundleShortVersionString,
原生构建时间: ConfigReader.BUILD_TIME,
热更新版本号: codePushStore.info.label,
热更新详情: codePushStore.info.desc,
}}
// 另外的的面板
panels={panels}
// console.time 可辨别是否开启 debug 网页
console={__DEV__ ? !console.time : true}
/>
</View>
)
}
vConsole for react native
本插件集合了多种vconsole的优点,感谢以下库:
https://github.com/itenl/react-native-vdebug https://github.com/Grewer/react-native-vconsole https://github.com/fwon/RNVConsole https://github.com/sigmayun/react-native-vconsole
MIT
FAQs
vConsole for react native
We found that @kafudev/react-native-vconsole demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.