capacitor-community / capacitor-community/electron
Accessing the filesystem
- Dominant language
- TypeScript
- Stars
- 398
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
What's the recommended approach for an Ionic+Capacitor app to access the filesystem via Electron?
There's a couple of options:
1. Ionic's File plugin: https://ionicframework.com/docs/native/file
2. Capacitor's Filesystem plugin: https://capacitorjs.com/docs/apis/filesystem
But none of them allow me to access for example my home directory `~`.
With pure Electron I can just use `fs` but that's not an option here as I'd like it to work with Android as well.
A recommended approach and perhaps a code example would be really appreciated as the current docs are only focused on iOS and Android for these plugins.
Contributor guide
Assessment
This issue has not been assessed yet.