GoogleDrive
v0.1.1
Published
Upload and Download file to Google Drive
Downloads
24
Maintainers
Readme
Cordova : Google Drive****
By using this plugin you can upload or download file from Google Drive
Install this plugin using:
cordova plugin add cordova-plugin-googledrive
Remove Plugins :
cordova plugin remove cordova-plugin-googledrive
Put the below code in your javascript code to run plugin:
googleDrive.uploadFile( function(success) { alert("All file has been successfully uploaded"); }, function(error) { alert("Something went wrong. Please try again..."); }, filePath);
filePath : Full File path
googleDrive.downloadFile( function(success) { alert(success); }, function(error) { alert(error); }, "");
GitHub URL: https://github.com/jaypratapsingh/GoogleDrive
npm url : https://www.npmjs.com/package/GoogleDrive