Skip to content

Commit

Permalink
Got the validator working for iOS
Browse files Browse the repository at this point in the history
Got the validator working for iOS
  • Loading branch information
rob-gioia-branch committed Oct 8, 2024
1 parent d942560 commit 3afbf5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/RNBranch.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#import "RNBranchAgingDictionary.h"
#import "RNBranchEventEmitter.h"
#import <BranchSDK/NSError+Branch.h>
#import "Branch+Validator.h"

NSString * const RNBranchLinkOpenedNotification = @"RNBranchLinkOpenedNotification";
NSString * const RNBranchLinkOpenedNotificationErrorKey = @"error";
Expand Down Expand Up @@ -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

0 comments on commit 3afbf5e

Please sign in to comment.