This repo contains the source code for an ionic app which can run on ios, android and browser. Your task is to implement ULA plugins, in order to build your own identity app.
Extra challenging! This repository isn't maintained, so you'll have to figure out how to update and fix errors that are coming along the way.
- Install node.js
- Install Ionic with
npm install ionic -g
- Install Cordova:
npm install cordova -g
- Install app dependencies with
cd app
,npm install
During the workshop preparation, you have received a website in which you can create an account and generate a QR code.
This basic app has a QR code scanner, but misses the following:
- Logic for interpreting the QR code
- Logic for receiving and sending credentials
- Logic for storing and receiving credentials locally
You will initialize and load the following plugins to feed your app with the required logic:
After initializing the plugins with their dependencies, you need to tie the knots:
- Send the QR payload to the ULA to kick off the credential exchange process
- In case of sending credentials to a third party, the user needs to give consent
- Show the credentials
- Show the exchange transactions
Read the last two instruction slides to get started. You can find the ULA full plugin integration guide here.
You can use the live reload feature by running ionic serve
,
but unfortunately the QR code scanner isn't available with live reload.
In order to properly use all native features in the browser, run ionic cordova run browser
.