Onegini Cordova Example app
This app serves as a simple example for building an app using the Onegini Cordova Plugin.
This app is build with the Vue.js framework.
Every view has it's own component in
src/views, containing all it's HTML, JS and CSS.
Components (like buttons or lists for specific items) are located in
Running the Example app
To run the Example App, you need to be able to build Cordova apps for Android and iOS on your machine. Refer to the Apache Cordova getting started guide if you need help setting up your Cordova environment.
Finally you need to have a valid Token Server configuration. We have already set you up with this, so you are good to go here :-). In order to see what the options are to supply the Token Server configuration see the getting started guide.
Clone this repository
git clone https://github.com/onegini/cordova-example-app.git cd cordova-example-app
Build www assets
npm install npm run build
Add the Android and/or iOS platform
cordova platform add (android|ios)...
Run the example app
cordova run (android|ios)...