GitHub user ghenry22 opened a pull request:
https://github.com/apache/cordova-plugin-file/pull/143
CB-9887 cordova.file.* paths for windows platform
Update the plugin to define cordova.file.* paths for windows platform as
appropriate.
Documentation updated to show where to store things.
Have tested this in my own app and the paths are detected as file plugin
works as expected now.
Means you can use cordova.file.dataDirectory in your app and then run that
app on ios, android, windows with consistent behaviour without requiring
platform specific code.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ghenry22/cordova-plugin-file windows_paths
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file/pull/143.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #143
----
commit 34a66b89d3e6b9f3c4c43b95adcd60227d2cdc19
Author: ghenry22 <[email protected]>
Date: 2015-10-28T04:55:14Z
Add windows paths to cordova.file object
add standard paths to cordova.file object for windows. Standardises
behaviour for windows platform and resolves cordova.file is undefined
errors.
commit 1e4094a2b40f5803f9954bcd3f15664e471c12d4
Author: ghenry22 <[email protected]>
Date: 2015-10-28T05:01:57Z
fix
commit d7c0b0beb641a4db51a94235768e0c1873e9f6aa
Author: ghenry22 <[email protected]>
Date: 2015-10-28T05:37:49Z
update docs for windows platform details
commit 442973f2646f5767b84dc1e57dc5244afba7db84
Author: ghenry22 <[email protected]>
Date: 2015-10-28T05:40:34Z
fix docs formatting
commit 03d9d32a28c0884fe61c16f4f976d9114c316ef7
Author: ghenry22 <[email protected]>
Date: 2015-10-28T05:42:00Z
fix docs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]