Skip to content

A simple example for building an app using the Onegini Cordova Plugin

Notifications You must be signed in to change notification settings

jaynoel/cordova-example-app

 
 

Repository files navigation

Onegini Cordova Example app

This app serves as a simple example for building an app using the Onegini Cordova Plugin.

Source structure

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 src/components.

Running the Example app

Prerequisites

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.

Make sure you have the SDK Configurator installed in your $PATH. (See the getting started guide of the Onegini Cordova Plugin)

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.

Building

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)...

About

A simple example for building an app using the Onegini Cordova Plugin

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Vue 92.5%
  • JavaScript 6.4%
  • HTML 1.1%