Skip to content

Commit

Permalink
chore: fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier committed Nov 8, 2023
1 parent cdbc856 commit ded1c59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/VideoCaching/RCTVideoCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ - (id)init {
options.useDirectorySeparation = NO;
#ifdef DEBUG
options.debugOutput = ^(NSString *string) {
RCTLog(@"Video Cache: %@", string);
NSLog(@"VideoCache: debug %@", string);
};
#endif
[self createTemporaryPath];
Expand All @@ -48,7 +48,7 @@ - (void) createTemporaryPath {
error:&error];
#ifdef DEBUG
if (!success || error) {
RCTLog(@"Error while! %@", error);
NSLog(@"VideoCache: Error while! %@", error);
}
#endif
}
Expand All @@ -64,7 +64,7 @@ - (void)storeItem:(NSData *)data forUri:(NSString *)uri withCallback:(void(^)(BO
[self.videoCache storeData:data forKey:key locked:NO withCallback:^(SPTPersistentCacheResponse * _Nonnull response) {
if (response.error) {
#ifdef DEBUG
RCTLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
NSLog(@"VideoCache: An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
#endif
handler(NO);
return;
Expand Down

0 comments on commit ded1c59

Please sign in to comment.