Skip to content

Commit

Permalink
[ios] Optionally compile EXScopedBranchManager
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed Aug 9, 2019
1 parent c24f3ef commit 758c167
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Exponent/Kernel/Services/EXScopedBranchManager.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if __has_include(<EXBranch/EXBranchManager.h>)
// Copyright 2015-present 650 Industries. All rights reserved.

#import <UIKit/UIKit.h>
Expand All @@ -16,3 +17,4 @@ NS_ASSUME_NONNULL_BEGIN
@end

NS_ASSUME_NONNULL_END
#endif
4 changes: 4 additions & 0 deletions ios/Exponent/Kernel/Services/EXScopedBranchManager.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if __has_include(<EXBranch/EXBranchManager.h>)

// Copyright 2015-present 650 Industries. All rights reserved.

#import "EXScopedBranchManager.h"
Expand Down Expand Up @@ -86,3 +88,5 @@ - (void)branchModuleDidInit:(id)versionedBranchModule
}

@end

#endif

0 comments on commit 758c167

Please sign in to comment.