react-native-screens 4.13.0 → 4.13.1

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.
package/RNScreens.podspec CHANGED
@@ -35,6 +35,7 @@ Pod::Spec.new do |s|
35
35
  if !gamma_project_enabled
36
36
  s.exclude_files = "ios/gamma/**/*.#{source_files_exts}"
37
37
  else
38
+ s.exclude_files = "ios/stubs/**/*.#{source_files_exts}"
38
39
  Pod::UI.puts "[RNScreens] Gamma project enabled. Including source files."
39
40
  end
40
41
 
@@ -0,0 +1,22 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+ // These symbols are a stubs for components defined in Gamma project implementation.
4
+ // We need these, because we can not really trick codegen to generate code only for components
5
+ // that satisfy some condition (e.g. when env var is defined). If these symbols are missing,
6
+ // the application will fail in runtime when RN attempts to create components class registry.
7
+
8
+ NS_ASSUME_NONNULL_BEGIN
9
+
10
+ @interface RNSScreenStackHostComponentView : NSObject
11
+ @end
12
+
13
+ @interface RNSStackScreenComponentView : NSObject
14
+ @end
15
+
16
+ @interface RNSSplitViewHostComponentView : NSObject
17
+ @end
18
+
19
+ @interface RNSSplitViewScreenComponentView : NSObject
20
+ @end
21
+
22
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,13 @@
1
+ #import "RNSGammaStubs.h"
2
+
3
+ @implementation RNSScreenStackHostComponentView
4
+ @end
5
+
6
+ @implementation RNSStackScreenComponentView
7
+ @end
8
+
9
+ @implementation RNSSplitViewHostComponentView
10
+ @end
11
+
12
+ @implementation RNSSplitViewScreenComponentView
13
+ @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-screens",
3
- "version": "4.13.0",
3
+ "version": "4.13.1",
4
4
  "description": "Native navigation primitives for your React Native app.",
5
5
  "scripts": {
6
6
  "submodules": "git submodule update --init --recursive && (cd react-navigation && yarn && yarn build && cd ../)",