// Copyright © 2018 650 Industries. All rights reserved. #import "EXScopedModuleRegistryDelegate.h" @implementation EXScopedModuleRegistryDelegate - (instancetype)initWithParams:(NSDictionary *)params { return self = [super init]; } - (id)pickInternalModuleImplementingInterface:(Protocol *)interface fromAmongModules:(NSArray> *)internalModules { // In ExpoKit we know all the overlapping classes -- the only ones are added // in EXScopedModuleRegistryAdapter at the last moment before conflict resolution, // so they'll be at the end of the array. return [internalModules lastObject]; } @end