dipole_moment
dipole_moment

Reputation: 5854

How do I go about creating a javascript ipad app that uses local storage?

I need to create an internal admin app. The app needs to be able to:

For V1
- Wrap and execute javascript code
- Will not rely on any iOS code other than perhaps the code necessary to load the javascript.
- Uses local storage

For V2
- Work offline (which means javascript code needs to be loaded in)

Any ideas on how to go about implementing such a thing?

Upvotes: 0

Views: 46

Answers (2)

dipole_moment
dipole_moment

Reputation: 5854

From my findings the following two are great solutions:

  1. Ionic
  2. Apache Cordova

Upvotes: 0

Boris Terzic
Boris Terzic

Reputation: 10948

By far the easiest and best supported way is to use Apache Cordova. They did all the work of wrapping a Webview in a native app and have a rich set of plugins for integration with all kinds of mobile APIs.

Since the app will be running in an embedded browser you can simply access the normal Localstorage APIs.

The Cordova tutorial by @ccoenraets may be a good way to get started.

Upvotes: 1

Related Questions