Skip to content

Commit 3f279c2

Browse files
committed
last cleanup
1 parent 62031f9 commit 3f279c2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Branch-SDK/Branch-SDK/BNCContentDiscoveryManager.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#import "BNCSystemObserver.h"
1212
#import "BNCError.h"
1313
#import "BranchConstants.h"
14-
#import <CoreSpotlight/CoreSpotlight.h>
14+
1515
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
1616
#import <MobileCoreServices/MobileCoreServices.h>
1717
#endif
@@ -39,7 +39,7 @@ @implementation BNCContentDiscoveryManager
3939
#pragma mark - Launch handling
4040

4141
- (NSString *)spotlightIdentifierFromActivity:(NSUserActivity *)userActivity {
42-
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
42+
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
4343
// If it has our prefix, then the link identifier is just the last piece of the identifier.
4444
NSString *activityIdentifier = userActivity.userInfo[CSSearchableItemActivityIdentifier];
4545
BOOL isBranchIdentifier = [activityIdentifier hasPrefix:BRANCH_SPOTLIGHT_PREFIX];
@@ -55,7 +55,7 @@ - (NSString *)spotlightIdentifierFromActivity:(NSUserActivity *)userActivity {
5555
}
5656

5757
- (NSString *)standardSpotlightIdentifierFromActivity:(NSUserActivity *)userActivity {
58-
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
58+
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 90000
5959
if (userActivity.userInfo[CSSearchableItemActivityIdentifier]) {
6060
return userActivity.userInfo[CSSearchableItemActivityIdentifier];
6161
}

Branch-SDK/Branch-SDK/BranchUniversalObject.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ - (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties
168168
[self showShareSheetWithLinkProperties:linkProperties andShareText:shareText fromViewController:viewController anchor:nil completion:completion];
169169
}
170170
- (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties andShareText:(NSString *)shareText fromViewController:(UIViewController *)viewController anchor:(UIBarButtonItem *)anchor completion:(shareCompletion)completion {
171-
// log share initiated event
171+
// Log share initiated event
172172
[self userCompletedAction:BNCShareInitiatedEvent];
173173
UIActivityItemProvider *itemProvider = [self getBranchActivityItemWithLinkProperties:linkProperties];
174174
NSMutableArray *items = [NSMutableArray arrayWithObject:itemProvider];
@@ -179,7 +179,7 @@ - (void)showShareSheetWithLinkProperties:(BranchLinkProperties *)linkProperties
179179

180180
if ([shareViewController respondsToSelector:@selector(completionWithItemsHandler)]) {
181181
shareViewController.completionWithItemsHandler = ^(NSString *activityType, BOOL completed, NSArray *returnedItems, NSError *activityError) {
182-
// log share completed event
182+
// Log share completed event
183183
[self userCompletedAction:BNCShareCompletedEvent];
184184
if (completion) {
185185
completion(activityType, completed);

Branch-TestBed/Branch-TestBed/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2020
*/
2121

2222
Branch *branch = [Branch getInstance];
23-
//[branch setDebug];
23+
[branch setDebug];
2424
[branch setWhiteListedSchemes:@[@"branchtest"]];
2525

2626
// Automatic Deeplinking on "deeplink_text"

0 commit comments

Comments
 (0)