Skip to content

Commit

Permalink
Starting surface after RNNReactView init
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadzim Filipovich committed Apr 16, 2024
1 parent d7fcc00 commit b7e30e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ios/RNNReactView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge
reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock {
RCTFabricSurface *surface = [[RCTFabricSurface alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
self = [super initWithSurface:surface sizeMeasureMode:sizeMeasureMode];
[surface start];
#else
- (instancetype)initWithBridge:(RCTBridge *)bridge
moduleName:(NSString *)moduleName
Expand Down

0 comments on commit b7e30e6

Please sign in to comment.