Skip to content

Commit

Permalink
Added a readLogs function that prints hello world successfully as a p…
Browse files Browse the repository at this point in the history
…roof of concept

Added a readLogs function that prints hello world successfully as a proof of concept
  • Loading branch information
rob-gioia-branch committed Oct 8, 2024
1 parent fdea6ba commit 09d029d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ios/RNBranch.m
Original file line number Diff line number Diff line change
Expand Up @@ -750,4 +750,12 @@ - (CGFloat) colorComponentFrom: (NSString *) string start: (NSUInteger) start le
[[Branch getInstance] validateSDKIntegration];
}

#pragma mark readLogs
RCT_EXPORT_METHOD(readLogs:(RCTPromiseResolveBlock)resolve
rejecter:(__unused RCTPromiseRejectBlock)reject) {
NSString* logs = @"Hello World!";
// NSLog(@"Hello World!");
resolve(logs);
}

@end

0 comments on commit 09d029d

Please sign in to comment.