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/06 20:51:25 UTC

[GitHub] [cordova-plugin-file] allidoisace opened a new issue #506: How to Load Resource File Produced During the Build Phase

allidoisace opened a new issue #506:
URL: https://github.com/apache/cordova-plugin-file/issues/506


   <!------------^ Click "Preview" for a nicer view! -->
   
   Apache Cordova uses GitHub Issues as a feature request and bug tracker _only_.
   For usage and support questions, please check out the resources below. Thanks!
   
   ---
   
   You can get answers to your usage and support questions about **Apache Cordova** on:
   
   * Slack Community Chat: https://cordova.slack.com (you can sign-up at http://slack.cordova.io/)
   * StackOverflow: https://stackoverflow.com/questions/tagged/cordova using the tag `cordova`
   
   ---
   
   If you are using a tool that uses Cordova internally, like e.g. Ionic, check their support channels:
   
   * **Ionic Framework**
     * [Ionic Community Forum](https://forum.ionicframework.com/)
     * [Ionic Worldwide Slack](https://ionicworldwide.herokuapp.com/)
   * **PhoneGap**
     * [PhoneGap Developer Community](https://forums.adobe.com/community/phonegap)
   
   
   I would like to store a Binary file so that when a build creates the iOS app, I am able to access the Binary file in Library or Documents. I can’t find any information on how to achieve this and utilize this plugin to access it.


-- 
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


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

Posted by GitBox <gi...@apache.org>.
breautek closed issue #506:
URL: https://github.com/apache/cordova-plugin-file/issues/506


   


-- 
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


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

Posted by GitBox <gi...@apache.org>.
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: 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


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

Posted by GitBox <gi...@apache.org>.
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