Local storage folder

hi… some one please I have no idea where is local storage folder is? subject in ionic book tutorial, if we can view and edit data from that json file if I am not wrong?

Local storage is not a file or folder, it is like a simple browser database that lets you store key:value pairs. Plenty of good resources about what it is and how to use it are easy to find by searching.

http://diveintohtml5.info/storage.html

2 Likes

On Android look around your file system in the following path /data/data/<package name>/. You’ll find there files and folders that you are looking for. But you need to have the device rooted to do anything in system folders.

1 Like

Thank you sir…!

great… thanks rafa…!

Thank you for the explanation…It’s really helpful… :grin:

Thank you sir.

Nobody should be using localStorage for anything. Whatever you’re trying to do, there are better options.

Trying to communicate amongst different parts of a running app? Framework-specific. In Angular, use a mutually injected service provider.

Trying to leave notes-in-bottles for the next run of the app? Use Ionic Storage.

Need structured queries for lots of data? Use SQLite.

2 Likes

Thanks and regards.