
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@webank/react-native-rtext
Advanced tools
这是一个非常强力的,可以通过简单配置(json),就能修改线上应用文案的杀手级应用。
由于我们是金融行业的React Native使用者,而金融行业的特点是对文案的准确性要求特别高。万一哪天线上文案出了问题,往往来不及走打包发版流程,就已经造成不可挽回的损失。
于是,我做出了RText,为的就是能够在紧急情况下救命。 做出来之后,已经在微众银行客户端APP上稳定使用半年,截止目前已经多次救我们于水火。
后来我发现这套实现方案在React Native上非常的通用,因此我进行了简单的改造和抽象,开源出来,协同维护。
# npm
npm i @webank/react-native-rtext --save
# yarn
yarn add @webank/react-native-rtext
import RText from 'react-native-rtext'
RText.init({
configUrl: 'http://www.webank.com/cdn/RText.json'
})
{
"Calendar": [
{
"text": "%Meeting with%",
"replacement": "%RText replacer%"
}
]
}

# Clone the repo
git clone https://github.com/WeBankFinTech/react-native-rtext.git
# 安装依赖
cd react-native-rtext && yarn install
# 安装Pods
cd ios && pod install
yarn run:ios
如果想运行安卓:
yarn run:android
FAQs
A lightweight, extendable text replacer for React Native
We found that @webank/react-native-rtext demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers