2 Feb 2014 3:54 AM #1
LocalStorage docs state the following:
"If this proxy is used in a browser where local storage is not supported, the constructor will throw an error"
what is the best way to deal with this?
should I use Ext.feature.has.LocalStorage to check first? does Ext.feature.has.LocalStorage relates to Ext.data.proxy.LocalStorage?
assuming I intend to use IOS and android only as browsers to this application. is there a browser version matrix where I can find from which version local storage is supported? for example (android 2.2+ and ios4+)
thanks in advance
3 Feb 2014 4:07 PM #2
Checking he source I see that that error is only thrown in development mode to the console.
You could create your own function to check as suggested in the following post:
browser/localstorage support matrix