1// Copyright 2015-present 650 Industries. All rights reserved. 2 3#import "EXScopedBridgeModule.h" 4 5@implementation EXScopedBridgeModule 6 7+ (NSString *)moduleName 8{ 9 NSAssert(NO, @"EXScopedBridgeModule is abstract, you should only export subclasses to the bridge."); 10 return @"ExponentScopedBridgeModule"; 11} 12 13- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId 14 scopeKey:(NSString *)scopeKey 15 easProjectId:(NSString *)easProjectId 16 kernelServiceDelegate:(id)kernelServiceInstance 17 params:(NSDictionary *)params 18{ 19 if (self = [super init]) { 20 _experienceStableLegacyId = experienceStableLegacyId; 21 _scopeKey = scopeKey; 22 _easProjectId = easProjectId; 23 } 24 return self; 25} 26 27- (instancetype)initWithExperienceStableLegacyId:(NSString *)experienceStableLegacyId 28 scopeKey:(NSString *)scopeKey 29 easProjectId:(NSString *)easProjectId 30 kernelServiceDelegates:(NSDictionary *)kernelServiceInstances 31 params:(NSDictionary *)params 32{ 33 if (self = [super init]) { 34 _experienceStableLegacyId = experienceStableLegacyId; 35 _scopeKey = scopeKey; 36 _easProjectId = easProjectId; 37 } 38 return self; 39} 40 41@end 42