diff --git a/BranchSDK/Branch.h b/BranchSDK/Branch.h index 54bb55377..820376a8d 100644 --- a/BranchSDK/Branch.h +++ b/BranchSDK/Branch.h @@ -568,6 +568,13 @@ extern NSString * __nonnull const BNCSpotlightFeature; */ - (void)enableLogging; +/** + Send requests to EU endpoints. + + This feature must also be enabled on the server side, otherwise the server will drop requests. Contact your account manager for details. + */ +- (void)useEUEndpoints; + /** setDebug is deprecated and all functionality has been disabled. diff --git a/BranchSDK/Branch.m b/BranchSDK/Branch.m index 8a307809a..24bcf7ef0 100644 --- a/BranchSDK/Branch.m +++ b/BranchSDK/Branch.m @@ -419,6 +419,10 @@ - (void)enableLogging { BNCLogSetDisplayLevel(BNCLogLevelDebug); } +- (void)useEUEndpoints { + [BNCServerAPI sharedInstance].useEUServers = YES; +} + - (void)setDebug { NSLog(@"Branch setDebug is deprecated and all functionality has been disabled. " "If you wish to enable logging, please invoke enableLogging. "