Closed chaddd980 closed 3 years ago
Doesnβt look like you committed the changes that use the plugin
Doesnβt look like you committed the changes that use the plugin
AH. You're right. Just fixed that. Thanks, you can check it out now
writeFile
doesn't create intermediate directories by default, so you have to create test
folder first, or use recursive: true
option on writeFile
writeFile
doesn't create intermediate directories by default, so you have to createtest
folder first, or userecursive: true
option onwriteFile
Yes you're right. Thank You!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
iOS
Current Behavior
When using FileSystem in ios, writeFile() gets an error "Parent folder doesn't exist" I found there was another issues about this with older version of capacitor/ios. The error seems to have returned
Expected Behavior
The file should be written with the path of the image
Code Reproduction
https://github.com/chaddd980/test
build for ios. Use web inspector to see logs. Click the take picture button. Take a picture and then click use photo. at that point the error will show up.
Other Technical Details
npm --version
output: 1.9.3node --version
output: v12.13.1pod --version
output (iOS issues only): 1.9.3Additional Context