Can local files be read in a PWA?

I see that the File is a cordova-file-pluggin. I haven’t been successful using it in a PWA. Is that possible? I just want to manage some of my own templates in a subdirectory of assets. Thoughts?

If it’s a cordova plugin, it wont be usable in PWA area. The plugin is meant to talk to native code (java/obj-c).

You could check out javascript raw file API

Similar idea, though it might be limited in capabilities compared to the cordova plugin.

Thank you. I’ll take a peek. In the meantime I just performed an http get into my asset directory.