mainprashant89
mainprashant89

Reputation: 77

Using local storage in hybrid applications

I am developing a hybrid application where I want to store images, documents and videos in the device. In my windows app I used to store data in the local storage (C:\Users\xyz\AppData\Local\Packages).

How do I proceed in the hybrid app. I will be deploying it in Windows, iOS and Android devices.

Upvotes: 1

Views: 374

Answers (2)

André Kreienbring
André Kreienbring

Reputation: 2509

Have a look at angular-localforage. This article describes its usage.

It basically makes it easy to store key / value pairs in the local storage.

As this is a JS / Browser based solution it should work for the mentioned OS in your hybrid application.

Upvotes: 1

uksz
uksz

Reputation: 18719

You can store it in

window.localStorage 

Here is more info:

https://developer.mozilla.org/pl/docs/Web/API/Window/localStorage

Upvotes: 1

Related Questions