react-native-navigation 7.38.4 → 7.38.5

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/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16
1
+ 20
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
 
17
17
  s.module_name = 'ReactNativeNavigation'
18
18
  s.default_subspec = 'Core'
19
-
19
+
20
20
  s.subspec 'Core' do |ss|
21
21
  s.source = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
22
22
  s.source_files = 'lib/ios/**/*.{h,m,mm,cpp}'
@@ -24,12 +24,17 @@ Pod::Spec.new do |s|
24
24
  end
25
25
 
26
26
  if fabric_enabled
27
+ install_modules_dependencies(s)
28
+
27
29
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
28
30
  fabric_flags = fabric_enabled ? '-DRCT_NEW_ARCH_ENABLED' : ''
31
+
29
32
  s.pod_target_xcconfig = {
30
- 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly" "$(PODS_ROOT)/Headers/Private/React-Core"',
33
+ 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly" "$(PODS_ROOT)/Headers/Private/React-Core" "$(PODS_ROOT)/Headers/Private/Yoga"',
31
34
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
35
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
32
36
  }
37
+
33
38
  s.compiler_flags = folly_compiler_flags + ' ' + '-DRCT_NEW_ARCH_ENABLED'
34
39
  s.requires_arc = true
35
40
 
@@ -45,6 +50,7 @@ Pod::Spec.new do |s|
45
50
  s.dependency "React-runtimeexecutor"
46
51
  s.dependency "React-rncore"
47
52
  end
53
+
48
54
  s.dependency 'React-Core'
49
55
  s.dependency 'React-CoreModules'
50
56
  s.dependency 'React-RCTImage'
@@ -22,7 +22,7 @@ def kotlinStdlib = safeExtGet('RNNKotlinStdlib',DEFAULT_KOTLIN_STDLIB )
22
22
  def kotlinCoroutinesCore = safeExtGet('RNNKotlinCoroutinesCore', '1.5.2')
23
23
  android {
24
24
  compileSdkVersion safeExtGetFallbackLowerBound('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
25
- buildToolsVersion = "33.0.0"
25
+ buildToolsVersion = "34.0.0"
26
26
  defaultConfig {
27
27
  minSdkVersion safeExtGetFallbackLowerBound('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
28
28
  targetSdkVersion safeExtGetFallbackLowerBound('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
@@ -56,7 +56,7 @@ android {
56
56
  def repeatLength = output.length()
57
57
  println '\n\n' + ('-' * repeatLength) + '\n' + output + '\n' + ('-' * repeatLength) + '\n'
58
58
 
59
- println "see report at file://${t.reports.html.destination}/index.html"
59
+ println "see report at file://${t.reports.html.outputLocation}/index.html"
60
60
  }
61
61
  }
62
62
  }
@@ -66,7 +66,7 @@ android {
66
66
  targetCompatibility JavaVersion.VERSION_1_8
67
67
  }
68
68
  kotlinOptions {
69
- jvmTarget = JavaVersion.VERSION_1_8
69
+ jvmTarget = JavaVersion.VERSION_17
70
70
  }
71
71
 
72
72
  flavorDimensions "RNN.reactNativeVersion"
@@ -194,8 +194,8 @@ open class ButtonPresenter(private val context: Context, private val button: But
194
194
 
195
195
  class WixAccessibilityDelegateCompat: AccessibilityDelegateCompat(){
196
196
  override fun onInitializeAccessibilityNodeInfo(
197
- host: View?,
198
- info: AccessibilityNodeInfoCompat?
197
+ host: View,
198
+ info: AccessibilityNodeInfoCompat
199
199
  ) {
200
200
  super.onInitializeAccessibilityNodeInfo(host, info)
201
201
 
@@ -6,10 +6,9 @@
6
6
  #import "RCTLegacyInteropComponents.h"
7
7
  #import <React/CoreModulesPlugins.h>
8
8
  #import <React/RCTCxxBridgeDelegate.h>
9
- #import <React/RCTFabricSurfaceHostingProxyRootView.h>
10
9
  #import <React/RCTLegacyViewManagerInteropComponentView.h>
11
- #import <React/RCTRuntimeExecutorFromBridge.h>
12
10
  #import <React/RCTSurfacePresenter.h>
11
+ #import <React/RCTSurfacePresenterStub.h>
13
12
  #import <React/RCTSurfacePresenterBridgeAdapter.h>
14
13
  #import <ReactCommon/RCTTurboModuleManager.h>
15
14
  #import <react/config/ReactNativeConfig.h>
@@ -1,5 +1,5 @@
1
1
  #ifdef RCT_NEW_ARCH_ENABLED
2
- #import <React/RCTFabricSurfaceHostingProxyRootView.h>
2
+ #import <React/RCTSurfaceHostingProxyRootView.h>
3
3
  #else
4
4
  #import <React/RCTRootView.h>
5
5
  #endif
@@ -32,7 +32,7 @@ typedef void (^RNNReactViewReadyCompletionBlock)(void);
32
32
 
33
33
  #ifdef RCT_NEW_ARCH_ENABLED
34
34
  @interface RNNReactView
35
- : RCTFabricSurfaceHostingProxyRootView <RCTRootViewDelegate, RNNComponentProtocol>
35
+ : RCTSurfaceHostingProxyRootView <RCTRootViewDelegate, RNNComponentProtocol>
36
36
  #else
37
37
  @interface RNNReactView : RCTRootView <RCTRootViewDelegate, RNNComponentProtocol>
38
38
  #endif
@@ -1,6 +1,10 @@
1
1
  #import "RNNReactView.h"
2
2
  #import <React/RCTRootContentView.h>
3
3
 
4
+ #ifdef RCT_NEW_ARCH_ENABLED
5
+ #import <React/RCTFabricSurface.h>
6
+ #endif
7
+
4
8
  @implementation RNNReactView {
5
9
  BOOL _isAppeared;
6
10
  }
@@ -11,10 +15,8 @@
11
15
  eventEmitter:(RNNEventEmitter *)eventEmitter
12
16
  sizeMeasureMode:(RCTSurfaceSizeMeasureMode)sizeMeasureMode
13
17
  reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock {
14
- self = [super initWithBridge:bridge
15
- moduleName:moduleName
16
- initialProperties:initialProperties
17
- sizeMeasureMode:sizeMeasureMode];
18
+ RCTFabricSurface *surface = [[RCTFabricSurface alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
19
+ self = [super initWithSurface:surface sizeMeasureMode:sizeMeasureMode];
18
20
  #else
19
21
  - (instancetype)initWithBridge:(RCTBridge *)bridge
20
22
  moduleName:(NSString *)moduleName
package/metro.config.js CHANGED
@@ -1,7 +1,11 @@
1
+ const path = require('node:path');
1
2
  const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
2
3
 
3
4
  const config = {
4
5
  projectRoot: `${__dirname}`,
6
+ resolver: {
7
+ enableGlobalPackages: true,
8
+ },
5
9
  watchFolders: [__dirname],
6
10
  };
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.38.4",
3
+ "version": "7.38.5",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,
@@ -76,7 +76,10 @@
76
76
  "@babel/plugin-proposal-export-namespace-from": "7.10.1",
77
77
  "@babel/runtime": "7.22.6",
78
78
  "@babel/types": "7.22.5",
79
- "@react-native/metro-config": "^0.73.0",
79
+ "@babel/preset-env": "^7.22.9",
80
+ "@react-native/metro-config": "^0.73.2",
81
+ "@react-native/babel-preset": "^0.73.18",
82
+ "@react-native/typescript-config": "^0.73.1",
80
83
  "@react-native-community/blur": "^3.6.0",
81
84
  "@react-native-community/datetimepicker": "^3.4.7",
82
85
  "@react-native-community/eslint-config": "2.0.0",
@@ -94,7 +97,7 @@
94
97
  "@typescript-eslint/parser": "4.33.0",
95
98
  "babel-jest": "^27.0.0",
96
99
  "clang-format": "^1.4.0",
97
- "detox": "20.18.3",
100
+ "detox": "20.19.5",
98
101
  "detox-testing-library-rnn-adapter": "^2.0.3",
99
102
  "eslint": "7.32.0",
100
103
  "eslint-config-prettier": "6.11.0",
@@ -109,7 +112,7 @@
109
112
  "pngjs": "^6.0.0",
110
113
  "prettier": "2.1.2",
111
114
  "react": "18.2.0",
112
- "react-native": "0.72.3",
115
+ "react-native": "0.73.3",
113
116
  "react-native-fast-image": "^8.6.3",
114
117
  "react-native-gesture-handler": "^2.10.1",
115
118
  "react-native-reanimated": "^3.8.1",