@react-native-firebase/storage 14.2.3 → 14.3.2
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,22 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [14.3.2](https://github.com/invertase/react-native-firebase/compare/v14.3.1...v14.3.2) (2022-02-10)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
9
|
+
|
10
|
+
## [14.3.1](https://github.com/invertase/react-native-firebase/compare/v14.3.0...v14.3.1) (2022-02-07)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
13
|
+
|
14
|
+
# [14.3.0](https://github.com/invertase/react-native-firebase/compare/v14.2.4...v14.3.0) (2022-01-26)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
17
|
+
|
18
|
+
## [14.2.4](https://github.com/invertase/react-native-firebase/compare/v14.2.3...v14.2.4) (2022-01-24)
|
19
|
+
|
20
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
21
|
+
|
6
22
|
## [14.2.3](https://github.com/invertase/react-native-firebase/compare/v14.2.2...v14.2.3) (2022-01-20)
|
7
23
|
|
8
24
|
**Note:** Version bump only for package @react-native-firebase/storage
|
@@ -19,16 +19,10 @@
|
|
19
19
|
|
20
20
|
@interface RNFBStorageCommon : NSObject
|
21
21
|
|
22
|
-
+ (BOOL)isRemoteAsset:(NSString *)localFilePath;
|
23
|
-
|
24
|
-
+ (BOOL)unused_isHeic:(NSString *)localFilePath;
|
25
|
-
|
26
22
|
+ (NSDictionary *)metadataToDict:(FIRStorageMetadata *)metadata;
|
27
23
|
|
28
24
|
+ (NSDictionary *)listResultToDict:(FIRStorageListResult *)listResult;
|
29
25
|
|
30
|
-
+ (PHAsset *)fetchAssetForPath:(NSString *)localFilePath;
|
31
|
-
|
32
26
|
+ (NSString *)utiToMimeType:(NSString *)dataUTI;
|
33
27
|
|
34
28
|
+ (NSURL *)createTempFileUrl;
|
@@ -370,13 +370,15 @@
|
|
370
370
|
@"totalBytes" : @(task.progress.totalUnitCount)
|
371
371
|
} mutableCopy];
|
372
372
|
} else {
|
373
|
-
return [@{
|
374
|
-
|
373
|
+
return [@{
|
374
|
+
@"bytesTransferred" : @(0),
|
375
|
+
@"state" : [self getTaskStatus:FIRStorageTaskStatusUnknown],
|
376
|
+
@"totalBytes" : @(0)
|
377
|
+
} mutableCopy];
|
375
378
|
}
|
376
379
|
}
|
377
380
|
|
378
381
|
+ (NSString *)getTaskStatus:(FIRStorageTaskStatus)status {
|
379
|
-
if (status == nil) return @"unknown";
|
380
382
|
if (status == FIRStorageTaskStatusResume || status == FIRStorageTaskStatusProgress) {
|
381
383
|
return @"running";
|
382
384
|
} else if (status == FIRStorageTaskStatusPause) {
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// generated by genversion
|
2
|
-
module.exports = '14.2
|
2
|
+
module.exports = '14.3.2';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/storage",
|
3
|
-
"version": "14.2
|
3
|
+
"version": "14.3.2",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration with Cloud Storage, providing support to upload and download files directly from your device and from your Firebase Cloud Storage bucket.",
|
6
6
|
"main": "lib/index.js",
|
@@ -29,10 +29,10 @@
|
|
29
29
|
"download"
|
30
30
|
],
|
31
31
|
"peerDependencies": {
|
32
|
-
"@react-native-firebase/app": "14.2
|
32
|
+
"@react-native-firebase/app": "14.3.2"
|
33
33
|
},
|
34
34
|
"publishConfig": {
|
35
35
|
"access": "public"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "861efd21f844d1ad37cdeceba31c9f48c515b8e0"
|
38
38
|
}
|