We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf31334 commit 1f15176Copy full SHA for 1f15176
ios/RNFetchBlobFS.m
@@ -770,8 +770,8 @@ +(void) df:(RCTResponseSenderBlock)callback
770
totalSpace = [fileSystemSizeInBytes unsignedLongLongValue];
771
totalFreeSpace = [freeFileSystemSizeInBytes unsignedLongLongValue];
772
callback(@[[NSNull null], @{
773
- @"free" : [NSString stringWithFormat:@"%ld", totalFreeSpace],
774
- @"total" : [NSString stringWithFormat:@"%ld", totalSpace]
+ @"free" : [NSNumber numberWithUnsignedLongLong: totalFreeSpace],
+ @"total" : [NSNumber numberWithUnsignedLongLong: totalSpace],
775
}]);
776
} else {
777
callback(@[@"failed to get storage usage."]);
0 commit comments