Skip to content

Commit bff58e4

Browse files
committed
CORE-1198 clarify new public API name
1 parent 7cf8fee commit bff58e4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Branch-SDK/Branch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
645645
646646
These are ICU standard regular expressions.
647647
*/
648-
@property (copy, nullable) NSArray<NSString*>/*_Nullable*/* urlsToIgnore;
648+
@property (copy, nullable) NSArray<NSString*>/*_Nullable*/* urlPatternsToIgnore;
649649

650650
/**
651651
Register your Facebook SDK's FBSDKAppLinkUtility class to be used by Branch for deferred deep linking from their platform

Branch-SDK/Branch.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,14 +673,14 @@ - (void)addWhiteListedScheme:(NSString *)scheme {
673673
[self.whiteListedSchemeList addObject:scheme];
674674
}
675675

676-
- (void)setUrlsToIgnore:(NSArray<NSString*>*)urlsToIgnore {
676+
- (void)setUrlPatternsToIgnore:(NSArray<NSString*>*)urlsToIgnore {
677677
@synchronized (self) {
678678
_userURLFilter = [[BNCURLFilter alloc] init];
679679
_userURLFilter.patternList = urlsToIgnore;
680680
}
681681
}
682682

683-
- (NSArray<NSString *> *)urlsToIgnore {
683+
- (NSArray<NSString *> *)urlPatternsToIgnore {
684684
@synchronized (self) {
685685
return _userURLFilter.patternList;
686686
}

Branch-TestBed/Branch-SDK-Tests/BNCURLFilterTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ - (void) testUserList {
172172
BNCLogSetDisplayLevel(BNCLogLevelAll);
173173
Branch *branch = (Branch.branchKey.length) ? Branch.getInstance : [Branch getInstance:@"key_live_foo"];
174174
[branch clearNetworkQueue];
175-
branch.urlsToIgnore = @[
175+
branch.urlPatternsToIgnore = @[
176176
@"\\/bob\\/"
177177
];
178178
id serverInterfaceMock = OCMPartialMock(branch.serverInterface);

0 commit comments

Comments
 (0)