1 // Copyright 2019-present 650 Industries. All rights reserved. 2 3 #if __has_include(<EXBranch/RNBranch.h>) 4 #import <EXBranch/RNBranch.h> 5 #import <ExpoModulesCore/EXInternalModule.h> 6 #import <ExpoModulesCore/EXModuleRegistryConsumer.h> 7 8 NS_ASSUME_NONNULL_BEGIN 9 10 @protocol EXBranchScopedModuleDelegate 11 12 - (void)branchModuleDidInit:(id _Nonnull)branchModule; 13 14 @end 15 16 @interface EXScopedBranch : RNBranch <EXModuleRegistryConsumer, EXInternalModule> 17 18 @property (nonatomic, strong) NSString *scopeKey; 19 20 - (instancetype)initWithScopeKey:(NSString *)scopeKey; 21 22 @end 23 24 NS_ASSUME_NONNULL_END 25 #endif 26