react-native-cognito-asf-fingerprint

0.0.5 • Public • Published

react-native-cognito-asf-fingerprint

Getting started

$ npm install react-native-cognito-asf-fingerprint --save

Mostly automatic installation

this shouldn't be needed if auto-linking is supported by your app's react-native version

$ react-native link react-native-cognito-asf-fingerprint

Usage

import { getData } from 'react-native-cognito-asf-fingerprint';

// TODO: What to do with the module?
const advancedSecurityData = await getData(username, cognitoPoolId, cognitoApplicationId);

const UserContextData = {
	EncodedData: advancedSecurityData
}

Notes

💡 check out the example app in demo ℹ (/demo) 💡 recommended: run Metro Bundler in a new shell ℹ (cd demo && yarn start) 💡 enter the following commands to run the example app: ℹ cd demo ℹ react-native run-android ℹ react-native run-ios ⚠ first steps in case of a clean checkout ℹ run Yarn in demo ℹ (cd demo && yarn) ℹ do pod install for iOS in demo/ios ℹ (cd demo/ios && pod install)

Readme

Keywords

Package Sidebar

Install

npm i react-native-cognito-asf-fingerprint

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

22.8 kB

Total Files

14

Last publish

Collaborators

  • sandfox