App on device is served from file://, i need it served from localhost://


Hello, i have an app built with ionic 3 and angular 5. It’s all working fine, but now i need to implement some features that uses files on the device and all the plugins i found for it do not work with file path using the file:// protocol, i tried the normalizeURL function, but i does absolutely nothing to the string path.
I then verified and the app when is on the device (android) is served with the file:// proto col, and not from the device local webserver. Is this normal? Can i change the settings so my app will be served from the device webserver?