Skip to content

liveoak-io/liveoak-example-todomvc-cordova

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Cordova Example

Version of Todomvc application running on Cordova. Before running this example you need to have Cordova installed with a phone or emulator available.

Installing the application

  • Run Todomvc application on LiveOak and setup it as described in Todomvc Example README.md

  • Edit 'www/index.html' and change the URL for 'liveoak.js' . You need to change host and replace it with real INET_ADDRESS of your host where LiveOak with TodoMVC deployed is running. Currently it is set to 192.168.2.7 which corresponds to a localhost running an Android emulator.

  • Set up Cordova native Android project:

$ mkdir platforms plugins
$ cordova plugin add org.apache.cordova.inappbrowser
$ cordova platform add android

Setup the application

Running the application

  • Build native application from web app, and run it:
$ cordova run android

Once the application is opened you can login with username: 'bob', and password: 'password' or use other account as specified in README of Todomvc example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published