You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/07 00:46:08 UTC

[GitHub] [cordova-plugin-file] breautek edited a comment on issue #506: How to Load Resource File Produced During the Build Phase

breautek edited a comment 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-).
   
   Closing because this is not a bug report. If you require further support, feel free to ask in our [community slack channel](https://join.slack.com/t/cordova/shared_invite/zt-z70vy6tx-7VNulesO0Qz0Od9QV4tc1Q).


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org