react-native-navigation 7.38.2 → 7.38.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.
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 20
1
+ 16
@@ -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,17 +24,12 @@ Pod::Spec.new do |s|
24
24
  end
25
25
 
26
26
  if fabric_enabled
27
- install_modules_dependencies(s)
28
-
29
27
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
30
28
  fabric_flags = fabric_enabled ? '-DRCT_NEW_ARCH_ENABLED' : ''
31
-
32
29
  s.pod_target_xcconfig = {
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"',
30
+ 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly" "$(PODS_ROOT)/Headers/Private/React-Core"',
34
31
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
35
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
36
32
  }
37
-
38
33
  s.compiler_flags = folly_compiler_flags + ' ' + '-DRCT_NEW_ARCH_ENABLED'
39
34
  s.requires_arc = true
40
35
 
@@ -50,7 +45,6 @@ Pod::Spec.new do |s|
50
45
  s.dependency "React-runtimeexecutor"
51
46
  s.dependency "React-rncore"
52
47
  end
53
-
54
48
  s.dependency 'React-Core'
55
49
  s.dependency 'React-CoreModules'
56
50
  s.dependency 'React-RCTImage'
@@ -12,9 +12,9 @@ def safeExtGetFallbackLowerBound(prop, fallback) {
12
12
  Math.max(safeExtGet(prop,fallback),fallback)
13
13
  }
14
14
 
15
- def DEFAULT_COMPILE_SDK_VERSION = 34
15
+ def DEFAULT_COMPILE_SDK_VERSION = 33
16
16
  def DEFAULT_MIN_SDK_VERSION = 21
17
- def DEFAULT_TARGET_SDK_VERSION = 34
17
+ def DEFAULT_TARGET_SDK_VERSION = 33
18
18
  def DEFAULT_KOTLIN_VERSION = "1.5.31"
19
19
  def DEFAULT_KOTLIN_STDLIB = 'kotlin-stdlib-jdk8'
20
20
  def kotlinVersion = safeExtGet("RNNKotlinVersion", DEFAULT_KOTLIN_VERSION)
@@ -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 = "34.0.0"
25
+ buildToolsVersion = "33.0.0"
26
26
  defaultConfig {
27
27
  minSdkVersion safeExtGetFallbackLowerBound('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
28
28
  targetSdkVersion safeExtGetFallbackLowerBound('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
@@ -56,17 +56,17 @@ 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.outputLocation}/index.html"
59
+ println "see report at file://${t.reports.html.destination}/index.html"
60
60
  }
61
61
  }
62
62
  }
63
63
  }
64
64
  compileOptions {
65
- sourceCompatibility JavaVersion.VERSION_17
66
- targetCompatibility JavaVersion.VERSION_17
65
+ sourceCompatibility JavaVersion.VERSION_1_8
66
+ targetCompatibility JavaVersion.VERSION_1_8
67
67
  }
68
68
  kotlinOptions {
69
- jvmTarget = JavaVersion.VERSION_17
69
+ jvmTarget = JavaVersion.VERSION_1_8
70
70
  }
71
71
 
72
72
  flavorDimensions "RNN.reactNativeVersion"
@@ -172,14 +172,14 @@ List reactNativeVersionComponents(rnPackageJsonFile) {
172
172
 
173
173
  dependencies {
174
174
 
175
- implementation "androidx.core:core-ktx:1.6.1"
175
+ implementation "androidx.core:core-ktx:1.6.0"
176
176
  implementation "org.jetbrains.kotlin:$kotlinStdlib:$kotlinVersion"
177
177
  implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesCore"
178
- implementation "androidx.constraintlayout:constraintlayout:2.1.4"
178
+ implementation "androidx.constraintlayout:constraintlayout:2.0.4"
179
179
 
180
- implementation 'androidx.appcompat:appcompat:1.6.1'
181
- implementation 'androidx.annotation:annotation:1.7.1'
182
- implementation 'com.google.android.material:material:1.11.0'
180
+ implementation 'androidx.appcompat:appcompat:1.3.1'
181
+ implementation 'androidx.annotation:annotation:1.2.0'
182
+ implementation 'com.google.android.material:material:1.2.0-alpha03'
183
183
 
184
184
  implementation 'com.github.wix-playground:ahbottomnavigation:3.3.0'
185
185
  // implementation project(':AHBottomNavigation')
@@ -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,9 +6,10 @@
6
6
  #import "RCTLegacyInteropComponents.h"
7
7
  #import <React/CoreModulesPlugins.h>
8
8
  #import <React/RCTCxxBridgeDelegate.h>
9
+ #import <React/RCTFabricSurfaceHostingProxyRootView.h>
9
10
  #import <React/RCTLegacyViewManagerInteropComponentView.h>
11
+ #import <React/RCTRuntimeExecutorFromBridge.h>
10
12
  #import <React/RCTSurfacePresenter.h>
11
- #import <React/RCTSurfacePresenterStub.h>
12
13
  #import <React/RCTSurfacePresenterBridgeAdapter.h>
13
14
  #import <ReactCommon/RCTTurboModuleManager.h>
14
15
  #import <react/config/ReactNativeConfig.h>
@@ -1,5 +1,5 @@
1
1
  #ifdef RCT_NEW_ARCH_ENABLED
2
- #import <React/RCTSurfaceHostingProxyRootView.h>
2
+ #import <React/RCTFabricSurfaceHostingProxyRootView.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
- : RCTSurfaceHostingProxyRootView <RCTRootViewDelegate, RNNComponentProtocol>
35
+ : RCTFabricSurfaceHostingProxyRootView <RCTRootViewDelegate, RNNComponentProtocol>
36
36
  #else
37
37
  @interface RNNReactView : RCTRootView <RCTRootViewDelegate, RNNComponentProtocol>
38
38
  #endif
@@ -1,10 +1,6 @@
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
-
8
4
  @implementation RNNReactView {
9
5
  BOOL _isAppeared;
10
6
  }
@@ -15,8 +11,10 @@
15
11
  eventEmitter:(RNNEventEmitter *)eventEmitter
16
12
  sizeMeasureMode:(RCTSurfaceSizeMeasureMode)sizeMeasureMode
17
13
  reactViewReadyBlock:(RNNReactViewReadyCompletionBlock)reactViewReadyBlock {
18
- RCTFabricSurface *surface = [[RCTFabricSurface alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
19
- self = [super initWithSurface:surface sizeMeasureMode:sizeMeasureMode];
14
+ self = [super initWithBridge:bridge
15
+ moduleName:moduleName
16
+ initialProperties:initialProperties
17
+ sizeMeasureMode:sizeMeasureMode];
20
18
  #else
21
19
  - (instancetype)initWithBridge:(RCTBridge *)bridge
22
20
  moduleName:(NSString *)moduleName
package/metro.config.js CHANGED
@@ -1,11 +1,7 @@
1
- const path = require('node:path');
2
1
  const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
3
2
 
4
3
  const config = {
5
4
  projectRoot: `${__dirname}`,
6
- resolver: {
7
- enableGlobalPackages: true,
8
- },
9
5
  watchFolders: [__dirname],
10
6
  };
11
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.38.2",
3
+ "version": "7.38.3",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,
@@ -76,16 +76,14 @@
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
- "@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",
79
+ "@react-native/metro-config": "^0.73.0",
83
80
  "@react-native-community/blur": "^3.6.0",
84
81
  "@react-native-community/datetimepicker": "^3.4.7",
85
82
  "@react-native-community/eslint-config": "2.0.0",
86
83
  "@react-native-community/netinfo": "^5.9.4",
87
84
  "@testing-library/jest-native": "^5.4.2",
88
85
  "@testing-library/react-native": "^12.0.1",
86
+ "@types/detox": "17.14.3",
89
87
  "@types/hoist-non-react-statics": "^3.0.1",
90
88
  "@types/jasmine": "3.5.10",
91
89
  "@types/jest": "27.0.2",
@@ -97,7 +95,7 @@
97
95
  "@typescript-eslint/parser": "4.33.0",
98
96
  "babel-jest": "^27.0.0",
99
97
  "clang-format": "^1.4.0",
100
- "detox": "20.18.1",
98
+ "detox": "20.9.0",
101
99
  "detox-testing-library-rnn-adapter": "^2.0.3",
102
100
  "eslint": "7.32.0",
103
101
  "eslint-config-prettier": "6.11.0",
@@ -112,10 +110,10 @@
112
110
  "pngjs": "^6.0.0",
113
111
  "prettier": "2.1.2",
114
112
  "react": "18.2.0",
115
- "react-native": "0.73.3",
113
+ "react-native": "0.72.3",
116
114
  "react-native-fast-image": "^8.6.3",
117
115
  "react-native-gesture-handler": "^2.10.1",
118
- "react-native-reanimated": "3.6.2",
116
+ "react-native-reanimated": "3.4.1",
119
117
  "react-native-ui-lib": "7.3.6",
120
118
  "react-redux": "5.x.x",
121
119
  "react-test-renderer": "18.2.0",