Skip to content

Commit 40f81e8

Browse files
committed
fix bug where copy was returning same abcdefg.. string every time for filename
1 parent e6f16f3 commit 40f81e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNReactNativeReplaykit.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ - (dispatch_queue_t)methodQueue
6262
}
6363

6464
NSString *newPath = [[NSString stringWithFormat:@"%@/%@",
65-
[path stringByDeletingLastPathComponent], letters]
65+
[path stringByDeletingLastPathComponent], randomString]
6666
stringByAppendingPathExtension:[path pathExtension]];
6767

6868
[self.screenRecordCoordinator copyRecordingWithFilePath:path destFileURL:newPath];

0 commit comments

Comments
 (0)