How can I view localStorage on a device

I am creating an app for android device using Ionic framework. I want to store my data using localStorage. Now I understand what it is, but I cannot find it anywhere on the device. I want to view it to check if everything is saved as I want.

I have found many different tools to view localStorage, when I build an application and run it under my device (real phone, not emulator), is there a way to view datastorage in localStorage?

+3


source to share


1 answer


Using remote debugging (for Chrome for Android or Safari for iOS) you can easily browse LocalStorage on the device (or emulator). This article describes how to do it with Chrome ( https://developer.chrome.com/devtools/docs/remote-debugging ) and this one covers Safari ( http://moduscreate.com/enable-remote-web-inspector -in-ios-6 / ).



+4


source







All Articles