1.0.4 • Published 4 years ago
cordova-plugin-firebase-files-upload v1.0.4
cordova-plugin-firebase-files-upload
Cordova plugin for Firebase Files Upload
Installation
cordova plugin add cordova-plugin-firebase-files-upload --save
This plugin only supports files upload, doesn't check authentication. Please feel free to report bugs and issues.
Supported Platforms
- Android
Methods
Method call returns a promise which is optionally fulfilled with an appropriate value.
uploadFile(filePath,fileRef,callback)
Uploads file to firebase:
- Shows a native progress bar while uploading with % completed.
cordova.plugins.firebase.upload.uploadFile(path,ref).then(function(path){
//URL of file in firebase storage
});