Skip to content
Cordova Offline Application Demo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks
res
src
.gitignore
.npmignore
README.md
config.xml
favicon.ico
package.json
project.json
webpack.config.js

README.md

Form.io Cordova offline demo

This repository demonstrates how a cordova application without using a framework like Angular, React or Vue, can use the offline plugin.

Formio Offline Plugin Access

In order to be able to compile and run this application you must have access to the formiojs-plugin-offline repository. To get access you must have an Enterprise project on form.io and request access from support@form.io.

Installation

npm install
cordova requirements

Make sure all of the cordova requirements are fulfilled before proceeding.

To do a build, run the following:

webpack
cordova build ios
cordova emulate ios

You can switch cordova to android as well.

Navigo

While this repo uses almost entirely vanilla javasript to implement the offline plugin, we did need to add a basic router. Navigo is a very simple router that has no dependencies so it fit the bill. Feel free to use a different router such as one that comes with your framework of choice.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.