You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by clelland <gi...@git.apache.org> on 2014/06/11 19:45:19 UTC

[GitHub] cordova-plugin-file pull request: Update Metadata.js

Github user clelland commented on the pull request:

    https://github.com/apache/cordova-plugin-file/pull/39#issuecomment-45775108
  
    I've created [CB-6922](https://issues.apache.org/jira/browse/CB-6922) for this -- it was certainly a problem in Android.
    
    The trouble, as Shaz identified, is that *both* the File API and the FileEntry API have a method to get metadata for a file, and they use inconsistent names for the timestamp.
    
    I've committed a different fix, which just makes use of getFileMetadata for both functions (on all platforms) and changes the key names in JavaScript before instantiating the Metadata object. This should ensure consistent behaviour across all platforms.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---