Closed djflip2016 closed 3 years ago
Looks like this may be a duplicate of #19 - does your write succeed if you use Filesystem.writeFile
instead of this plugin?
yes im not getting nay errors do you happen to know where i could possibly view this file on the android emulator because it isnt showing any fails with the .data extension but how would i view that directory?
I've never tried using the emulator, it doesn't work very well on my computer. However, you could read it within your app with Filesystem.readFile
or
const { uri } = await Filesystem.stat({ directory, path });
const response = await fetch(Capacitor.convertFileSrc(uri));
any ideas as to why i would get this error here is a code snippet: and yes the directory exists const res = await fetch('https://cdn.vox-cdn.com/thumbor/Ous3VQj1sn4tvb3H13rIu8eGoZs=/0x0:2012x1341/1400x788/filters:focal(0x0:2012x1341):format(jpeg)/cdn.vox-cdn.com/uploads/chorus_image/image/47070706/google2.0.0.jpg'); const blob = await res.blob();
}