-
Notifications
You must be signed in to change notification settings - Fork 1
Data Storage
Here's a starting point for HTML5 local data storage (persistence) with dart:
LocalStorage is for low-volume key/value pairs. IndexedDB is for more/larger datasets, and is most likely what will be generally useful.
The bad news is that Safari 7.0 and iOS Safari 7.0 do not support IndexdDB.
For the initial sense-smell project, we can probably get away with just using LocalStorage (key/value pair storage), but will have to look into how that affects local data size we can deal with. It might imply that longer-term off-line sessions might be limited, or require specific browsers installed.
Testing will have to uncover this, and if the mobile browsers on iOS have the necessary support. If not, we may need to look into the limits of off-line storage behavior and capacity on iOS of web-file system's drivers (dropbox, box, google-drive).