How do you store a file locally using Apache Cordova 3.4.0

后端 未结 3 527
长情又很酷
长情又很酷 2021-02-01 10:46

I am having a problem storing a file locally on an iOS (or android) device using apache cordova\'s \"file\" plugin. The problem I believe is setting the path properly.

3条回答
  •  无人共我
    2021-02-01 11:25

    Check out these links :

    http://cordova.apache.org/docs/en/3.4.0/cordova_plugins_pluginapis.md.html#Plugin%20APIs https://github.com/apache/cordova-plugin-file/blob/dev/doc/index.md

    http://cordova.apache.org/docs/en/3.0.0/cordova_file_file.md.html#File

    First and second links provide you information about the plugin File and how to install it.

    The third one show you how to use the File plugin.

    Everytime you need to do something with Cordova, check if a plugin is available to do it :)

    regards.

提交回复
热议问题