Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
160e139
commit d4fdea6
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |