From dd45e7e1c465d020828df1da1b9f4b8bd9237cb6 Mon Sep 17 00:00:00 2001 From: Marc Horowitz Date: Wed, 3 May 2017 14:31:34 -0700 Subject: [PATCH] Switch default bridge to CxxBridge Reviewed By: javache Differential Revision: D4981911 fbshipit-source-id: 49900a0e86d13045aa8930a865b073e1dec35e93 --- React/Base/RCTBridge.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/Base/RCTBridge.m b/React/Base/RCTBridge.m index e86df784b..6aba194ed 100644 --- a/React/Base/RCTBridge.m +++ b/React/Base/RCTBridge.m @@ -284,10 +284,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init) } else { implClass = batchedBridgeClass; } - } else if (batchedBridgeClass != nil) { - implClass = batchedBridgeClass; } else if (cxxBridgeClass != nil) { implClass = cxxBridgeClass; + } else if (batchedBridgeClass != nil) { + implClass = batchedBridgeClass; } RCTAssert(implClass != nil, @"No bridge implementation is available, giving up.");