Skip to content

React Native sample code for upload blob data to Firebase using Firebase SDK with RNFetchBlob.

Notifications You must be signed in to change notification settings

wkh237/rn-firebase-storage-upload-sample

Repository files navigation

React Native Firebase Storage Upload Sample

This sample app demonstrates how to use react-native-fetch-blob along with firebase SDK to upload file to Firebase storage. Though React Native does not support Blob object, with help of react-native-fetch-blob polyfill you're able to do this.

NOTICE: We've corrected XMLHttpRequest in react-native-fetch-blob@0.9.6 implementation if you are using previous version please upgrade react-native-fetch-blob to 0.9.6 to fix login and realtime database error

prerequisite

  • react-native-cli installed

How to use

Clone the repository and execute the following command

$ npm install && react-native link

Then run React Native app as usual

More Information

Web polyfills of react-native-fetch-blob is still in development, more Information about the project and document, please visit the wiki.

About

React Native sample code for upload blob data to Firebase using Firebase SDK with RNFetchBlob.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published