Skip to content

Commit

Permalink
fix(iOS): start surface after RNNReactView init (#7867)
Browse files Browse the repository at this point in the history
Co-authored-by: Vadzim Filipovich <v.filippovich@rit.va>
  • Loading branch information
TheLonelyAstronaut and Vadzim Filipovich committed Apr 24, 2024
1 parent d7fcc00 commit c4d5cf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ios/RNNReactView.mm
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 c4d5cf9

Please sign in to comment.