![]() addListener(eventType, uploadId, listener)Īdds an event listener, possibly confined to a single upload.ĮventType Event to listen for. ![]() Returns a Promise that resolves to an boolean indicating whether the upload was cancelled. UploadId is the result of the Promise returned from startUpload Returns a Promise that resolves to an object containing: Name Path is a string, such as file://path.to. Useful if you want to set a MIME type header. Returns some useful information about the file in question. Android ProGuardĪdd this to your ProGuard configuration (proguard-rules.pro) : Note: if you are installing on React Native = 0.60) iOSĬd. Npm install -save react-native-background-upload Npm show react-native-background-upload versions Installation 1. NOTE: Use major version 4 with RN 47.0 and greater. If you are uploading large files like videos, use this so your users can background your app during a long upload. ![]() ![]() The only React Native http post file uploader with android and iOS background support. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |