Skip to content

Code from the sideline

  • About
  • Twitter
  • GitHub

Tag: Phonegap

LocalStorage and PhoneGap persistance

Apple decided to store data from the localStorage of a WebView in Caches since iOS 5.1. Sadly those caches are purged from time to time so this does not really enable a persistence. After wrestle with that for some time today I found the solution in a BlogPost here.

The essence is changing the paths for localStorage, etc. in the AppDelegate.

Works great!

sideshowcoder regular, Uncategorized Leave a comment 22/05/2012 1 Minute

ShowMAC Cordova (once PhoneGAP) Plugin

Since UUID Access is deprecated in iOS I needed a method to access some Unique Identifier via
Cordova which was ok to use in the long run, so the MAC seems like a good choice here. Since it
is not exposed by default I wrote a small plugin to access it. Maybe I am not the only one looking
for this so I put it on github.

Enjoy

sideshowcoder regular, Uncategorized Leave a comment 10/05/2012 1 Minute

Author: Philipp Fehre

Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy