Skip to content

Commit

Permalink
update sql storage readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
smichelotti committed Oct 14, 2016
1 parent 160e139 commit d4fdea6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sql-storage/readme.md
@@ -1,2 +1,5 @@
# SQL Storage with SQLite

The SqlStorage component was removed between the final Ionic 2 beta and the Ionic 2 RC release. The `user-settings.service.ts` file in this directory shows and example implementation of the `user-settings.service.ts` file shown in the course.

The file uses several `if` statements to make it very obvious what is going on. It is also created in such a way that you can run it in the browser via `ionic serve` and it will fall back to work with local storage since SQLite is not available in the browser. It will use SQLite (via the SQLite Ionic Native plugin) when running on an actual device.

0 comments on commit d4fdea6

Please sign in to comment.