How to persist data in your NativeScript mobile app

Data persitence is a necessity in many mobile applications.NativeScript offers many mechanisms that allow developers to persist data in mobile applications:

Using filesystem

Using sqlite

Using Loki database

What is Loki LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. - LokiJS

npm install nativescript-loki --save

Using NativeScript application settings

About the Author

Techiediaries is a website dedicated to bring you tutorials for the latest web technologies

comments powered by Disqus Protection Status