Switch default bridge to CxxBridge

Reviewed By: javache

Differential Revision: D4981911

fbshipit-source-id: 49900a0e86d13045aa8930a865b073e1dec35e93
This commit is contained in:
Marc Horowitz 2017-05-03 14:31:34 -07:00 committed by Facebook Github Bot
parent 382e633f78
commit dd45e7e1c4

View File

@ -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.");