From 3afbf5ee5a5e957c6e87779ea1148e552e4f8037 Mon Sep 17 00:00:00 2001 From: rob-gioia-branch Date: Tue, 8 Oct 2024 14:33:25 -0400 Subject: [PATCH] Got the validator working for iOS Got the validator working for iOS --- ios/RNBranch.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ios/RNBranch.m b/ios/RNBranch.m index 9dfdb9dd6..5f16385df 100644 --- a/ios/RNBranch.m +++ b/ios/RNBranch.m @@ -7,6 +7,7 @@ #import "RNBranchAgingDictionary.h" #import "RNBranchEventEmitter.h" #import +#import "Branch+Validator.h" NSString * const RNBranchLinkOpenedNotification = @"RNBranchLinkOpenedNotification"; NSString * const RNBranchLinkOpenedNotificationErrorKey = @"error"; @@ -744,4 +745,9 @@ - (CGFloat) colorComponentFrom: (NSString *) string start: (NSUInteger) start le [Branch setDMAParamsForEEA:eeaRegion AdPersonalizationConsent:adPersonalizationConsent AdUserDataUsageConsent:adUserDataUsageConsent]; } +#pragma mark validateSDKIntegration +RCT_EXPORT_METHOD(validateSDKIntegration) { + [[Branch getInstance] validateSDKIntegration]; +} + @end