react-native-cross-cognito0.3.2 • Public • Published
Crossplatform React-Native Cognito
This package makes use of our react-native-cross-components that are based on on
react-native-paper. Paper which is therefore a peer dependency.
Install with aws amplify and link it.
npm i react-native-vector-iconsnpm i aws-amplifynpm i react-native-papernpm i react-native-cross-cognito# one linernpm i react-native-vector-icons aws-amplify react-native-paper react-native-cross-cognito
yarn add react-native-vector-iconsyarn add aws-amplifyyarn add react-native-paperyarn add react-native-cross-cognito# one lineryarn add react-native-vector-icons aws-amplify react-native-paper react-native-cross-cognito
Expo prev CRNA
npm i react-native-cross-cognito
yarn add react-native-cross-cognito
See our GitHub Pages generated from code comments. This documentation is also available as intellisense / auto complete.
See Components below for examples
Table of Contents
- Services and helpers
Services and helpers
Gets the current user's Jwt token from AWS Cognito.
For documentation see API reference - GetJwtToken.
Renders a complete login form using your Amplify token.
For properties and documentation, see API reference - Class CognitoLogin.
With success callback
Set initial form
With button customizations
With custom children