Skip to content

OdysseyMomentum/vidchain-odyssey-app

Repository files navigation

VIDCHAIN Odyssey

Mobile App to demo the flow app to app and make the integration with our SSI solution easier.

Read the guide we have prepared for the integration with the library @validatedid/did-auth

https://validatedid.github.io/vidchain-doc/#/did-auth

And in the public library need for the DID auth process: https://www.npmjs.com/package/@validatedid/did-auth

Table of Contents

  1. Getting started
  2. Running
  3. Testing
  4. Build Troubleshooting
  5. Licensing

Getting started

  • React Native
  • Jest for testing

Clone the repository and move to the project directory

git clone https://github.com/validatedid/vidchain-app.git
cd vidchain-app

The code is built using React-Native and running code locally requires a Mac or Linux OS.

  • Install Node.js version 10 (latest stable) and yarn@1 (latest)

  • Install the shared React Native dependencies (React Native CLI, not Expo CLI)

  • Install cocoapods by running:

sudo gem install cocoapods

Install the required libraries and packages dependencies

npm install
cd ios && pod install && cd .. # install pods for iOS

If there are errors with the crypto library in React when install the npm install, is necessary to install node core shims and recursively with rn-nodeify:

./node_modules/.bin/rn-nodeify --hack --install

Running

Android

npm run android

This command starts the app in the device if you have it plugged or otherwise it launches an emulator.

iOS

npm run ios

This command starts the app in the device if you have it plugged or otherwise it launches an emulator.

Testing

Run the tests

npm run test

License