Skip to content

torusresearch/react-native-self-host-example

Repository files navigation

React TKey React Native Example

Prerequisites

changes done:

  1. metro.config.js -> using node-libs-react-native (https://www.npmjs.com/package/node-libs-react-native) to provide polyfilled libs for React Native compatible implementations of Node core modules like stream, http, etc..
  2. global.js -> have global variables which will be required for toruslabs packages to work in react native context

steps to run sample app:

  1. yarn install
  2. cd ios && pod install
  3. yarn ios

what features are there in app?

  1. Login - uses customauth google login
  2. Store device share - Store the 2nd share in async storage
  3. backup share - security question share