1ea3f1d02STomasz Sapeta// Copyright 2018-present 650 Industries. All rights reserved. 2ea3f1d02STomasz Sapeta 3ea3f1d02STomasz Sapeta#import <ExpoModulesCore/EXModuleRegistryHolderReactModule.h> 4ea3f1d02STomasz Sapeta 5ea3f1d02STomasz Sapeta@interface EXModuleRegistryHolderReactModule () 6ea3f1d02STomasz Sapeta 7*8b02c6d0STomasz Sapeta@property (nonatomic, nullable, weak) EXModuleRegistry *exModuleRegistry; 8ea3f1d02STomasz Sapeta 9ea3f1d02STomasz Sapeta@end 10ea3f1d02STomasz Sapeta 11ea3f1d02STomasz Sapeta@implementation EXModuleRegistryHolderReactModule 12ea3f1d02STomasz Sapeta 13*8b02c6d0STomasz Sapeta- (nonnull instancetype)initWithModuleRegistry:(nonnull EXModuleRegistry *)moduleRegistry 14ea3f1d02STomasz Sapeta{ 15ea3f1d02STomasz Sapeta if (self = [super init]) { 16ea3f1d02STomasz Sapeta _exModuleRegistry = moduleRegistry; 17ea3f1d02STomasz Sapeta } 18ea3f1d02STomasz Sapeta return self; 19ea3f1d02STomasz Sapeta} 20ea3f1d02STomasz Sapeta 21*8b02c6d0STomasz Sapeta- (nullable EXModuleRegistry *)exModuleRegistry 22ea3f1d02STomasz Sapeta{ 23ea3f1d02STomasz Sapeta return _exModuleRegistry; 24ea3f1d02STomasz Sapeta} 25ea3f1d02STomasz Sapeta 26*8b02c6d0STomasz Sapeta+ (nullable NSString *)moduleName { 27ea3f1d02STomasz Sapeta return nil; 28ea3f1d02STomasz Sapeta} 29ea3f1d02STomasz Sapeta 30ea3f1d02STomasz Sapeta@end 31