diff --git a/React/Modules/RCTUIManager.m b/React/Modules/RCTUIManager.m index e1b5dbc7db267b..18a2201dd752e3 100644 --- a/React/Modules/RCTUIManager.m +++ b/React/Modules/RCTUIManager.m @@ -1565,8 +1565,12 @@ static void RCTMeasureLayout(RCTShadowView *view, return @{}; } - NSString *moduleName = [name stringByAppendingString:@"Manager"]; + NSString *moduleName = name; BOOL result = [delegate bridge:self.bridge didNotFindModule:moduleName]; + if (!result) { + moduleName = [name stringByAppendingString:@"Manager"]; + result = [delegate bridge:self.bridge didNotFindModule:moduleName]; + } if (!result) { return @{}; }