Skip to content

Commit d96bb00

Browse files
author
Edward Smith
committed
Merge QA.
2 parents d33d106 + efd87d5 commit d96bb00

File tree

16 files changed

+46
-25
lines changed

16 files changed

+46
-25
lines changed

Branch-SDK/Branch-SDK/BNCConfig.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@
88

99
#include "BNCConfig.h"
1010

11-
#if defined(BNCTesting)
12-
NSString * const BNC_API_BASE_URL = @"https://auhong.api.beta.branch.io";
13-
#else
1411
NSString * const BNC_API_BASE_URL = @"https://api.branch.io";
15-
#endif
16-
1712
NSString * const BNC_API_VERSION = @"v1";
1813
NSString * const BNC_LINK_URL = @"https://bnc.lt";
19-
NSString * const BNC_SDK_VERSION = @"0.14.11";
14+
NSString * const BNC_SDK_VERSION = @"0.14.12";

Branch-SDK/Branch-SDK/BNCDeviceInfo.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,7 @@ + (NSString*) userAgentString {
176176
dispatch_async(dispatch_get_main_queue(), agentBlock);
177177

178178
dispatch_time_t timeoutTime = dispatch_time(DISPATCH_TIME_NOW, timeoutDelta);
179-
#if defined(BNCTesting)
180-
long result = dispatch_block_wait(agentBlock, timeoutTime);
181-
NSLog(@"Wait result: %ld.", result);
182-
#else
183179
dispatch_block_wait(agentBlock, timeoutTime);
184-
#endif
185180
retries--;
186181
}
187182
return browserUserAgentString;

Branch-SDK/Branch-SDK/BNCXcode7Support.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
@end
2121

2222
typedef NSString * UIActivityType;
23+
typedef NSString * UIApplicationOpenURLOptionsKey;
2324

2425
#endif

Branch-SDK/Branch-SDK/Branch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#import "BranchDeepLinkingController.h"
2222
#import "BNCCommerceEvent.h"
2323
#import "BranchShareLink.h"
24+
#import "BNCXcode7Support.h"
2425

2526
/**
2627
`Branch` is the primary interface of the Branch iOS SDK. Currently, all interactions you will make are funneled through this class. It is not meant to be instantiated or subclassed, usage should be limited to the global instance.
@@ -375,7 +376,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
375376
*/
376377
- (BOOL)application:(UIApplication *)application
377378
openURL:(NSURL *)url
378-
options:(NSDictionary</*UIApplicationOpenURLOptionsKey*/NSString*,id> *)options;
379+
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
379380

380381
///--------------------------------
381382
/// @name Push Notification Support

Branch-TestBed-Xcode-7/Branch-TestBed.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
4D44E7D21E68F46800793D79 /* Branch-SDK-Tests.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4D44E7BE1E68F31B00793D79 /* Branch-SDK-Tests.strings */; };
105105
4D46F63B1E7B4588002317B6 /* BranchShareLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D46F6391E7B4588002317B6 /* BranchShareLink.h */; };
106106
4D46F63C1E7B4588002317B6 /* BranchShareLink.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D46F63A1E7B4588002317B6 /* BranchShareLink.m */; };
107-
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8999EA1DC108FF00F7EE0A /* BNCXcode7Support.h */; };
107+
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8999EA1DC108FF00F7EE0A /* BNCXcode7Support.h */; settings = {ATTRIBUTES = (Public, ); }; };
108108
4D8999ED1DC108FF00F7EE0A /* BNCXcode7Support.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D8999EB1DC108FF00F7EE0A /* BNCXcode7Support.m */; };
109109
4D8EE7A51E1F0A5D00B1F450 /* BNCCommerceEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8EE7A31E1F0A5D00B1F450 /* BNCCommerceEvent.h */; settings = {ATTRIBUTES = (Public, ); }; };
110110
4D8EE7A61E1F0A5D00B1F450 /* BNCCommerceEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D8EE7A41E1F0A5D00B1F450 /* BNCCommerceEvent.m */; };
@@ -663,6 +663,7 @@
663663
4D8EE7A51E1F0A5D00B1F450 /* BNCCommerceEvent.h in Headers */,
664664
4D35141B1E3201D80085EBA1 /* NSMutableDictionary+Branch.h in Headers */,
665665
466B58791B17780A00A69EDE /* BNCConfig.h in Headers */,
666+
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */,
666667
7D4DAC211C8FA8C0008E37DB /* BranchView.h in Headers */,
667668
7D4DAC271C8FA908008E37DB /* BranchViewHandler.h in Headers */,
668669
54391A151BA249FA0061CB0F /* BranchCSSearchableItemAttributeSet.h in Headers */,
@@ -678,7 +679,6 @@
678679
460F4FA71B618A38002E84D6 /* BranchSpotlightUrlRequest.h in Headers */,
679680
466B587F1B17780A00A69EDE /* BNCEncodingUtils.h in Headers */,
680681
54FF1F911BD1DC320004CE2E /* BranchLinkProperties.h in Headers */,
681-
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */,
682682
67486B8D1B93B48A0044D872 /* BNCStrongMatchHelper.h in Headers */,
683683
46946BA31B2689A100627BCC /* BranchOpenRequest.h in Headers */,
684684
46946BA41B2689A100627BCC /* BranchInstallRequest.h in Headers */,

Branch-TestBed/Branch-TestBed.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
4D35141B1E3201D80085EBA1 /* NSMutableDictionary+Branch.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D3514191E3201D80085EBA1 /* NSMutableDictionary+Branch.h */; };
9393
4D35141C1E3201D80085EBA1 /* NSMutableDictionary+Branch.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D35141A1E3201D80085EBA1 /* NSMutableDictionary+Branch.m */; };
9494
4D3FA94B1DFF31EB00E2B6A9 /* BNCConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D3FA94A1DFF31EB00E2B6A9 /* BNCConfig.m */; };
95-
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8999EA1DC108FF00F7EE0A /* BNCXcode7Support.h */; };
95+
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8999EA1DC108FF00F7EE0A /* BNCXcode7Support.h */; settings = {ATTRIBUTES = (Public, ); }; };
9696
4D8999ED1DC108FF00F7EE0A /* BNCXcode7Support.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D8999EB1DC108FF00F7EE0A /* BNCXcode7Support.m */; };
9797
4D8EE7A51E1F0A5D00B1F450 /* BNCCommerceEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D8EE7A31E1F0A5D00B1F450 /* BNCCommerceEvent.h */; settings = {ATTRIBUTES = (Public, ); }; };
9898
4D8EE7A61E1F0A5D00B1F450 /* BNCCommerceEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D8EE7A41E1F0A5D00B1F450 /* BNCCommerceEvent.m */; };
@@ -661,6 +661,7 @@
661661
4D8EE7A51E1F0A5D00B1F450 /* BNCCommerceEvent.h in Headers */,
662662
4D35141B1E3201D80085EBA1 /* NSMutableDictionary+Branch.h in Headers */,
663663
466B58791B17780A00A69EDE /* BNCConfig.h in Headers */,
664+
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */,
664665
7D4DAC211C8FA8C0008E37DB /* BranchView.h in Headers */,
665666
7D4DAC271C8FA908008E37DB /* BranchViewHandler.h in Headers */,
666667
54391A151BA249FA0061CB0F /* BranchCSSearchableItemAttributeSet.h in Headers */,
@@ -675,7 +676,6 @@
675676
460F4FA71B618A38002E84D6 /* BranchSpotlightUrlRequest.h in Headers */,
676677
466B587F1B17780A00A69EDE /* BNCEncodingUtils.h in Headers */,
677678
54FF1F911BD1DC320004CE2E /* BranchLinkProperties.h in Headers */,
678-
4D8999EC1DC108FF00F7EE0A /* BNCXcode7Support.h in Headers */,
679679
67486B8D1B93B48A0044D872 /* BNCStrongMatchHelper.h in Headers */,
680680
46946BA31B2689A100627BCC /* BranchOpenRequest.h in Headers */,
681681
46946BA41B2689A100627BCC /* BranchInstallRequest.h in Headers */,

Branch.framework.zip

757 Bytes
Binary file not shown.

Branch.framework/Versions/A/Branch

3.93 KB
Binary file not shown.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// BNCXcode7Support.h
3+
// Branch-TestBed
4+
//
5+
// Created by Edward on 10/26/16.
6+
// Copyright © 2016 Branch Metrics. All rights reserved.
7+
//
8+
9+
10+
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED < 100000
11+
#warning Warning: Compiling with Xcode 7 support
12+
13+
14+
#import <Foundation/Foundation.h>
15+
16+
17+
@interface NSLocale (BranchXcode7Support)
18+
- (NSString*) countryCode;
19+
- (NSString*) languageCode;
20+
@end
21+
22+
typedef NSString * UIActivityType;
23+
typedef NSString * UIApplicationOpenURLOptionsKey;
24+
25+
#endif

Branch.framework/Versions/A/Headers/Branch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#import "BranchDeepLinkingController.h"
2222
#import "BNCCommerceEvent.h"
2323
#import "BranchShareLink.h"
24+
#import "BNCXcode7Support.h"
2425

2526
/**
2627
`Branch` is the primary interface of the Branch iOS SDK. Currently, all interactions you will make are funneled through this class. It is not meant to be instantiated or subclassed, usage should be limited to the global instance.
@@ -375,7 +376,7 @@ typedef NS_ENUM(NSUInteger, BranchCreditHistoryOrder) {
375376
*/
376377
- (BOOL)application:(UIApplication *)application
377378
openURL:(NSURL *)url
378-
options:(NSDictionary</*UIApplicationOpenURLOptionsKey*/NSString*,id> *)options;
379+
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options;
379380

380381
///--------------------------------
381382
/// @name Push Notification Support

0 commit comments

Comments
 (0)