AdamVig / goco-student

Gordon College Student app
https://gocostudent.adamvig.com
1 stars 0 forks source link

Change localStorage to SQLite #68

Closed AdamVig closed 8 years ago

AdamVig commented 8 years ago

Switch from relying on localStorage to store the few key-value pairs that the app relies on to using the more reliably persistent SQLite database.

The SQLite database will be accessed via the ngCordova wrapper Lawnchair abstraction of the Cordova SQLite plugin.

Fixes #67, a bug that would logout the user when localStorage was cleared.

AdamVig commented 8 years ago

The data that the app has to store:

AdamVig commented 8 years ago

This pull request morphed into a full refactor of a lot of parts of the app. The purpose for almost all of the refactoring was to convert from using StorageService to DbFactory.

AdamVig commented 8 years ago

Closes #67.