breautek commented on issue #506: URL: https://github.com/apache/cordova-plugin-file/issues/506#issuecomment-987441589
A build cannot store the file in the library or documents. You can bundle resource files, which will live in a read only directory along with your other app files [cordova.file.applicationDirectory](https://github.com/apache/cordova-plugin-file#file-system-layouts) (if I recall properly, it may be in a subdirectory thereof.) If you want the file to be placed in another location, then you'll need to manually copy the file in the app runtime. The docs with examples of how to read/write files can be found [here](https://github.com/apache/cordova-plugin-file#sample-create-files-and-directories-write-read-and-append-files-). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
