
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@unpourtous/tianyan-react-native
Advanced tools
App开发过程中,经常会遇到一个场景就是,测试说我遇到一个xxx问题,但是不能复现,之前比较多的解决方案是基于文件日志。我们自己使用过程中发现文件日志太重,而且测试同学取日志的学习成本太高。于是在web项目中开始使用类似vConsole这一类的工具,又因为我们主要使用到的日志查看和日志上传功能,所以当前的tianyan-react-native 版本只提供这两个核心功能。
将TianYan嵌入到App最外层View中,具体用法可以参考exmaple目录
export default class SimpleApp extends Component {
render () {
return (
<View style={styles.container}>
{/* other view */}
<TianYan options={{
logServerUrl: 'http://23lab.com:3000/v1/log',
maxLogLine: 1000,
ignoreFilter: function () { // 根据自定义规则过滤日志,避免手机端显示太多无用信息
return (arguments && typeof arguments[0] === 'string' && arguments[0].indexOf('ignored log') === 0)
}
}} />
</View>
)
}
}




FAQs
React Native component for both Android and iOS
We found that @unpourtous/tianyan-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.