react-native-auth-example
react-native-auth-example copied to clipboard
🔑 React Native APP 身份验证模块示例
React Navigation 身份验证流程
身份验证是 APP 中十分常见的一个模块,此示例基于 React Navigation 和 Token 机制实现了 React Native APP 中的身份验证流程。
![](https://github.com/hezhii/react-native-auth-example/raw/master/github/demo.gif)
如何测试
- 启动 APP
APP 目前只考虑了 IOS,建议测试时使用 IOS。
$ cd <project_root>
$ yarn install
$ react-native run-ios
- 启动后台服务
$ cd server
$ yarn install
$ yarn start