GithubHelp home page GithubHelp logo

fastrde / cordova-plugin-fastrde-md5 Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 34.0 8 KB

Phonegap MD5 checksum Plugin for Android and iOS

License: MIT License

Java 53.52% Objective-C 41.88% JavaScript 4.60%

cordova-plugin-fastrde-md5's Introduction

not maintained anymore

phonegap-md5

Phonegap MD5 checksum plugin for Android and iOS. The plugin reads large files in chunks and build the md5sum incrementally. It can process much larger files then read the complete content in memory and process it in place.

install

yourAppDir$ phonegap plugin add https://github.com/fastrde/phonegap-md5.git

usage

fileEntry is a org.apache.cordova.file.FileEntry

function win(md5sum){
    console.log("MD5SUM: " + md5sum);
}
function fail(error){
    console.log("Error-Message: " + error);
}
md5chksum.file(fileEntry, win, fail);

cordova-plugin-fastrde-md5's People

Contributors

faridlab avatar fastrde avatar markovchainmontecarlo avatar michacom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cordova-plugin-fastrde-md5's Issues

Feature Request - progress callback

Any way to get a callback function on progress of a chunk. I have large files to check and it takes about 40 seconds. Would be cool if we could get a callback function option upon completion of a chunk. Maybe it could pass current chunk and how many chunks total so some sort of progress can be displayed. -Thanks

Installation

Hello,
I'm having trouble with installation.

In my case I use : cordova plugin add https://github.com/fastrde/phonegap-md5.git

but neither package.json neither config.xml are modified.

When I commit changes and my colleague pulls it, md5chksum is not defined,

I'm not used to plugin and don't know how to resolve it, any help ? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.