edge-login-ui

Edge Core GUI interface in HTML/React Native to create account and login to Edge SDK accounts.

This repo implements a UI layer on top of edge-core-js to provide web and React Native applications the interface required to do all the login and accounts management in just a small handful of Javascript API calls. For web based apps, all UI operates in an overlay iframe on top of the current HTML view. For React Native apps, all UI operates inside a single standalone React Native component which needs to be mounted in your app.

edge-login-uic

Use

Each environment is implemented as a separate package

https://github.com/Airbitz/edge-login-ui/tree/develop/packages/edge-login-ui-web

https://github.com/Airbitz/edge-login-ui/tree/develop/packages/edge-login-ui-rn

See the readme in each of the repos above for installation and use in your app

Development

To get started developing, just run yarn. This will install all the dependencies for both packages. Then just switch into whichever package directory you want to work with and begin developing.

You should run the following scripts from this top-level directory:

  • yarn flow
  • yarn format
  • yarn lint
  • yarn lint --fix

This project uses a git pre-commit hook to automatically run flow & lint before every commit.

GitHub