登录 注册

react-native-keychain

去点 Star
开发者工具网站与 SaaS 工具自动化与工作流 androidioskeychain-accessreact-native
3,485
Stars
542
Forks
38
Watchers
185
Open Issues
MIT
许可证
Kotlin
语言
2015-05-20
创建时间
2026-11-06
最近更新

项目能做什么

适用于 React Native 的 Keychain/Keystore 安全存储访问插件。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<h1 align="center"><img
    src="website/docs/public/img/logo.png"
    align="center" width="50" height="50" alt=""
  /> react-native-keychain</h1>

[![Tests](https://github.com/oblador/react-native-keychain/actions/workflows/e2e_tests.yaml/badge.svg)](https://github.com/oblador/react-native-keychain/actions/workflows/e2e_tests.yaml) [![npm](https://img.shields.io/npm/v/react-native-keychain.svg)](https://npmjs.com/package/react-native-keychain) [![npm](https://img.shields.io/npm/dm/react-native-keychain.svg)](https://npmjs.com/package/react-native-keychain)

This library provides access to the Keychain (iOS) and Keystore (Android) for securely storing credentials like passwords, tokens, or other sensitive information in React Native apps.

- [Installation](#installation)
- [Example app](#example-app)
- [Documentation](#documentation)
- [Changelog](#changelog)
- [Maintainers](#maintainers)
- [Used By](#used-by)
- [License](#license)

## Installation

React Native **0.82 or later** with the **New Architecture** is required for the upcoming 11.x release. Use 10.x for older React Native versions or the Old Architecture. The iOS minimum is **15.1** and Android minimum is **API 24**. Development requires **Node.js 20.19.4+**, **JDK 17**, and **Xcode 16.1+**.

1. Run `yarn add react-native-keychain`
2. Run `pod install` in `ios/` directory to install iOS dependencies.
3. If you want to support FaceID, add a `NSFaceIDUsageDescription` entry in your `Info.plist`.
4. Re-build your Android and iOS projects.

## Example app

The [example app](KeychainExample) lets you save, load, and reset generic passwords and internet credentials, choose protection options, and inspect the returned service or server and storage type. Retrieved passwords stay hidden until you reveal them.

| iOS                                                                                                                                                         | Android                                                                                                                                                  |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="KeychainExample/media/ios-demo.gif" width="260" alt="iOS example: select Face ID protection, save credentials, and inspect the loaded result." /> | <img src="KeychainExample/media/android-demo.gif" width="260" alt="Android example: choose cipher storage, save credentials, and inspect the result." /> |
| [Watch the iOS demo](KeychainExample/media/ios-demo.mp4)                                                                                                    | [Watch the Android demo](KeychainExample/media/android-demo.mp4)                                     
阅读完整原文

商业机会分析 AI 生成

企业级移动凭据安全套件 (Commercial SDK/Add-on)

产品构想在开源库基础上封装针对金融/医疗等高合规场景的移动端安全增强 SDK,增加防越狱/Root 检查、动态密钥派生、内存凭据加密清理和硬件级安全芯片策略。
核心功能防 Hook/内存抓取防护、设备完整性(Root/Jailbreak)联合校验、自动数据合规日志、合规检测报告生成。
目标用户金融科技公司、企业移动应用研发部门、信息安全合规负责人。
难度/周期高 · 3 - 6 个月 · 成本:极低(主要是开发用测试设备与合规标准研究时间)
收费模式按 App 年度授权订阅(License 订阅制)或企业支持合同。
竞争风险底层对抗(Hooking/反调试)攻防技术更新快,维护成本较高;企业销售周期长。
依据 AI推测

React Native 新架构迁移与生物认证企业咨询支持

产品构想针对即将到来的 11.x 版本(强依赖 RN 0.82+ 及 New Architecture)向传统存量大型 RN 商业项目提供付费技术支持、适配及专属 SLA 服务。
核心功能定制化 TurboModules 集成排障、私有定制功能优先交付、长周期 LTS 支持、SLA 级响应支持。
目标用户维护庞大遗留 RN 代码库的研发团队、需要平滑升级至新架构的商业公司。
难度/周期中等 · 1 - 2 周(即开即用模式) · 成本:人力工时成本
收费模式按支持人天或年度企业支持订阅服务(Support Retainer)。
竞争风险依赖个别核心技术专家的声誉,获客依赖社区背书,规模化扩展困难。
依据 数据支持的判断

Passkey / 无密码认证一体化 RN 插件与云服务

产品构想结合原生的 Keychain/Keystore 能力,扩展为支持 WebAuthn / Passkeys 的开箱即用 React Native 无密码认证解决方案,解决移动端凭据同步与跨端免密登录难题。
核心功能一键集成 Passkey 流程、Keychain 备份与同步支持、多平台(iOS/Android/Web)凭据打通、身份验证后端托管 API。
目标用户B2C 移动 App 开发者、SaaS 产品移动端团队。
难度/周期中等 · 2 - 3 个月 · 成本:服务器/API 运维成本
收费模式Freemium 云服务(基于每月活跃验证用户量 MAU 收费)。
竞争风险市场上已有成熟身份认证巨头(如 Auth0、Clerk 等)提供相关解决方案,竞争激烈。
依据 尚需验证的假设
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
morluto/rea 中文介绍暂未生成
Reverse engineer anything with agents, from app behavior dow
452,479 TypeScript
flutter/flutter 中文介绍暂未生成
Flutter makes it easy and fast to build beautiful apps for m
181,236 Dart
Genymobile/scrcpy 中文介绍暂未生成
Display and control your Android device
154,586 C
rustdesk/rustdesk 中文介绍暂未生成
An open-source remote desktop application designed for self-
129,057 Rust
react/react-native 中文介绍暂未生成
A framework for building native applications using React
126,900 C++
Hack-with-Github/Awesome-Hacking 中文介绍暂未生成
A collection of various awesome lists for hackers, pentester
125,277 -
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2015-05-20,近 30 天仍在推送,发布过 41 个 Release
社区活跃Star 3,485 / Fork 542 / Issue 185(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/oblador/react-native-keychain.git
cd react-native-keychain
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。