react-native-navigation 8.4.2-snapshot.1905 → 8.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,9 +78,17 @@
78
78
  - (void)surface:(__unused RCTSurface *)surface didChangeStage:(RCTSurfaceStage)stage {
79
79
  RCTExecuteOnMainQueue(^{
80
80
  [super surface:surface didChangeStage:stage];
81
- [self reactViewReady];
81
+ [[NSNotificationCenter defaultCenter] addObserver:self
82
+ selector:@selector(contentDidAppear:)
83
+ name:RCTContentDidAppearNotification
84
+ object:nil];
82
85
  });
83
86
  }
87
+
88
+ - (void)contentDidAppear:(NSNotification *)notification {
89
+ [self reactViewReady];
90
+ }
91
+
84
92
  #else
85
93
 
86
94
  - (void)contentDidAppear:(NSNotification *)notification {
@@ -96,9 +104,9 @@
96
104
  _reactViewReadyBlock();
97
105
  _reactViewReadyBlock = nil;
98
106
  }
99
- #ifndef RCT_NEW_ARCH_ENABLED
107
+
100
108
  [[NSNotificationCenter defaultCenter] removeObserver:self];
101
- #endif
109
+
102
110
  }
103
111
 
104
112
  #pragma mark - RNNComponentProtocol
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "8.4.2-snapshot.1905",
3
+ "version": "8.4.3",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,