0.0.3 • Published 5 years ago

coru-uploadfiles-plugin v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

capacitor-firebase-upload-file

Capacitor plugin for Firebase Storage, With the plugin you can upload different types of files, from images and videos.

Especially it was designed only to upload videos .mp4 videos.

The plugin supports for Android Platform not iOS and Web for now.

Platform
Androidāœ…
iOS🧠
Web🧠

āœ… - Ready 🧠 - Thinking about, date to be defined

How to install

Install the plugin into your Capacitor project with npm.

npm install --save coru-uploadfiles-plugin@0.0.2

How to use

Import the capacitor plugin

import 'coru-uploadfiles-plugin';
const { uploadFiles } = Plugins;

Use the plugin

this.result = ( await uploadFiles.uploadFirebaseStorageFile({
            fileLocalName: fileName,
            fileNewName: 'newfile.mp4',
            fileFirestorageURL: 'plugin/'
    })).response;

Parameters

parameter
fileLocalNameName with which previously saved due
fileNewNameName of the file to be saved to storage, example: myfile.mp4
fileFirestorageURLFirebase Storage URL of the file to be saved to storage, example: /myfiles/

Response

response
successupload your file perfectly
errorDisplay the so error
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago