I'm developing a mobile app using phonegap & jQuery mobile.
I'm having reports from QA that on the Samsung Galaxy Y (android 2.3.6) - localStorage is null and therefore causing the app to crash.
As far as I can tell, localStorage should be supported from android versions 2.0+, and I have even added the following code to the DroidGap class:
super.appView.getSettings().setAllowFileAccess(true);
super.appView.getSettings().setDatabaseEnabled(true);
super.appView.getSettings().setDatabasePath("/data/data/" + appView.getContext().getPackageName() + "/databases/");
super.appView.getSettings().setDomStorageEnabled(true);
So I'm struggling to understand why localStorage doesn't seem to be supported on this particular device. I'm told that it even runs OK on other devices with the same version of Android!
Are there any settings or other things I'm not aware of that could cause localStorage to be null??