mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 18:44:25 +00:00
Switch default bridge to CxxBridge
Reviewed By: javache Differential Revision: D4981911 fbshipit-source-id: 49900a0e86d13045aa8930a865b073e1dec35e93
This commit is contained in:
parent
382e633f78
commit
dd45e7e1c4
@ -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.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user