How to persist data in your NativeScript mobile app -- Words (102)

Nativescript
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





mrnerd is a Web Entrepreneur & Developer, Digital Marketer and a Passionate Blogger. He writes about software and website development,money making tips and SEO etc.. He is a tech addict and a computer geek with a lot of hobbies.