Answer the question
In order to leave comments, you need to log in
Ionic 4 + capacitor. How to open a file?
I'm trying to open a file that is in the system, which was successfully downloadedFilesystem.writeFile
viewFile() {
try {
Filesystem.readFile({
path: "enedis.pdf",
directory: FilesystemDirectory.Documents
});
} catch (e) {
console.error("Read file error", e);
}
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question