https://github.com/patw0929/react-native-cognito-login-example
https://github.com/patw0929/react-native-cognito-login-example
android aws-sdk cognito facebook google ios login react-native social-login
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/patw0929/react-native-cognito-login-example
- Owner: patw0929
- License: mit
- Created: 2017-05-23T10:08:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T06:45:38.000Z (almost 4 years ago)
- Last Synced: 2025-04-14T01:52:41.003Z (about 1 year ago)
- Topics: android, aws-sdk, cognito, facebook, google, ios, login, react-native, social-login
- Language: Objective-C
- Homepage: https://blog.patw.me/archives/1372/using-react-native-and-amazon-cognito-to-develop-google-facebook-login-feature-in-android-ios-app/
- Size: 15 MB
- Stars: 19
- Watchers: 2
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
React-Native Cognito Login Example App
---

## Packages
* [react-native](https://github.com/facebook/react-native) 0.44
* [aws-sdk-react-native](https://github.com/awslabs/aws-sdk-react-native) (Custom packed version)
* [react-native-facebook-login](https://github.com/magus/react-native-facebook-login) 1.5.0
* [react-native-google-signin](https://github.com/devfd/react-native-google-signin) 0.10.0
* [react-native-loading-spinner-overlay](https://github.com/joinspontaneous/react-native-loading-spinner-overlay) 0.5.0
## About login
Based on [Amazon Cognito](https://aws.amazon.com/cognito/) to implement the login flow, and save the member data on it too.
I also used the [Amazon Lambda](https://aws.amazon.com/lambda/) & [Amazon API Gateway](https://aws.amazon.com/api-gateway/) to make a serverless API service, to complete the register/retrieve member data flow.
The lambda script repo is at [here](https://github.com/patw0929/cognito-login-example-api-aws-lambda).
## Intro
Please refer to this article (Chinese):
[使用 REACT NATIVE 與 AMAZON COGNITO 實作 GOOGLE & FACEBOOK 登入的功能](http://blog.patw.me/archives/1372/using-react-native-and-amazon-cognito-to-develop-google-facebook-login-feature-in-android-ios-app/)
## Related project
Lambda API (for user registration):
[https://github.com/patw0929/cognito-login-example-api-aws-lambda](https://github.com/patw0929/cognito-login-example-api-aws-lambda)