I am working on an app that utilizes data from a file stored on the device. Works.
My problem: For debugging purposes I need a way to load data from a local file from the development machine (Windows OS) and I have no idea how.
I can switch between both ways by evaluating the platform, but since Cordova isn’t available on the development machine, I don’t know how to access local files.
yes, development machine means the browser context of ionic serve;
“access” means reading the content of a file.
In the context of the deployed app I can do