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 962d809 commit e661bf4Copy full SHA for e661bf4
ios/RNFileSystem/RNFileSystem.m
@@ -99,6 +99,9 @@ + (void)moveFileFromUrl:(NSURL*)location toRelativePath:(NSString*)relativePath
99
NSURL *baseDir = [RNFileSystem baseDirForStorage:storage];
100
NSURL *fullPath = [baseDir URLByAppendingPathComponent:relativePath];
101
[fileManager moveItemAtURL:location toURL:fullPath error:nil];
102
+ if ([storage isEqual:STORAGE_IMPORTANT]) {
103
+ [RNFileSystem addSkipBackupAttributeToItemAtPath:[fullPath path]];
104
+ }
105
}
106
107
RCT_EXPORT_MODULE()
0 commit comments