diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 98a6fefd..426f77e9 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,12 +1,12 @@ PODS: - boost (1.83.0) - DoubleConversion (1.1.6) - - FBLazyVector (0.74.2) + - FBLazyVector (0.74.6) - fmt (9.1.0) - glog (0.3.5) - - hermes-engine (0.74.2): - - hermes-engine/Pre-built (= 0.74.2) - - hermes-engine/Pre-built (0.74.2) + - hermes-engine (0.74.6): + - hermes-engine/Pre-built (= 0.74.6) + - hermes-engine/Pre-built (0.74.6) - RCT-Folly (2024.01.01.00): - boost - DoubleConversion @@ -23,27 +23,27 @@ PODS: - DoubleConversion - fmt (= 9.1.0) - glog - - RCTDeprecation (0.74.2) - - RCTRequired (0.74.2) - - RCTTypeSafety (0.74.2): - - FBLazyVector (= 0.74.2) - - RCTRequired (= 0.74.2) - - React-Core (= 0.74.2) - - React (0.74.2): - - React-Core (= 0.74.2) - - React-Core/DevSupport (= 0.74.2) - - React-Core/RCTWebSocket (= 0.74.2) - - React-RCTActionSheet (= 0.74.2) - - React-RCTAnimation (= 0.74.2) - - React-RCTBlob (= 0.74.2) - - React-RCTImage (= 0.74.2) - - React-RCTLinking (= 0.74.2) - - React-RCTNetwork (= 0.74.2) - - React-RCTSettings (= 0.74.2) - - React-RCTText (= 0.74.2) - - React-RCTVibration (= 0.74.2) - - React-callinvoker (0.74.2) - - React-Codegen (0.74.2): + - RCTDeprecation (0.74.6) + - RCTRequired (0.74.6) + - RCTTypeSafety (0.74.6): + - FBLazyVector (= 0.74.6) + - RCTRequired (= 0.74.6) + - React-Core (= 0.74.6) + - React (0.74.6): + - React-Core (= 0.74.6) + - React-Core/DevSupport (= 0.74.6) + - React-Core/RCTWebSocket (= 0.74.6) + - React-RCTActionSheet (= 0.74.6) + - React-RCTAnimation (= 0.74.6) + - React-RCTBlob (= 0.74.6) + - React-RCTImage (= 0.74.6) + - React-RCTLinking (= 0.74.6) + - React-RCTNetwork (= 0.74.6) + - React-RCTSettings (= 0.74.6) + - React-RCTText (= 0.74.6) + - React-RCTVibration (= 0.74.6) + - React-callinvoker (0.74.6) + - React-Codegen (0.74.6): - DoubleConversion - glog - hermes-engine @@ -63,12 +63,12 @@ PODS: - React-utils - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-Core (0.74.2): + - React-Core (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - RCTDeprecation - - React-Core/Default (= 0.74.2) + - React-Core/Default (= 0.74.6) - React-cxxreact - React-featureflags - React-hermes @@ -80,7 +80,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/CoreModulesHeaders (0.74.2): + - React-Core/CoreModulesHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -97,7 +97,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/Default (0.74.2): + - React-Core/Default (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -113,13 +113,13 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/DevSupport (0.74.2): + - React-Core/DevSupport (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - RCTDeprecation - - React-Core/Default (= 0.74.2) - - React-Core/RCTWebSocket (= 0.74.2) + - React-Core/Default (= 0.74.6) + - React-Core/RCTWebSocket (= 0.74.6) - React-cxxreact - React-featureflags - React-hermes @@ -131,7 +131,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTActionSheetHeaders (0.74.2): + - React-Core/RCTActionSheetHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -148,7 +148,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTAnimationHeaders (0.74.2): + - React-Core/RCTAnimationHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -165,7 +165,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTBlobHeaders (0.74.2): + - React-Core/RCTBlobHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -182,7 +182,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTImageHeaders (0.74.2): + - React-Core/RCTImageHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -199,7 +199,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTLinkingHeaders (0.74.2): + - React-Core/RCTLinkingHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -216,7 +216,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTNetworkHeaders (0.74.2): + - React-Core/RCTNetworkHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -233,7 +233,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTSettingsHeaders (0.74.2): + - React-Core/RCTSettingsHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -250,7 +250,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTTextHeaders (0.74.2): + - React-Core/RCTTextHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -267,7 +267,7 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTVibrationHeaders (0.74.2): + - React-Core/RCTVibrationHeaders (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -284,12 +284,12 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-Core/RCTWebSocket (0.74.2): + - React-Core/RCTWebSocket (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - RCTDeprecation - - React-Core/Default (= 0.74.2) + - React-Core/Default (= 0.74.6) - React-cxxreact - React-featureflags - React-hermes @@ -301,36 +301,36 @@ PODS: - React-utils - SocketRocket (= 0.7.0) - Yoga - - React-CoreModules (0.74.2): + - React-CoreModules (0.74.6): - DoubleConversion - fmt (= 9.1.0) - RCT-Folly (= 2024.01.01.00) - - RCTTypeSafety (= 0.74.2) + - RCTTypeSafety (= 0.74.6) - React-Codegen - - React-Core/CoreModulesHeaders (= 0.74.2) - - React-jsi (= 0.74.2) + - React-Core/CoreModulesHeaders (= 0.74.6) + - React-jsi (= 0.74.6) - React-jsinspector - React-NativeModulesApple - React-RCTBlob - - React-RCTImage (= 0.74.2) + - React-RCTImage (= 0.74.6) - ReactCommon - SocketRocket (= 0.7.0) - - React-cxxreact (0.74.2): + - React-cxxreact (0.74.6): - boost (= 1.83.0) - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-callinvoker (= 0.74.2) - - React-debug (= 0.74.2) - - React-jsi (= 0.74.2) + - React-callinvoker (= 0.74.6) + - React-debug (= 0.74.6) + - React-jsi (= 0.74.6) - React-jsinspector - - React-logger (= 0.74.2) - - React-perflogger (= 0.74.2) - - React-runtimeexecutor (= 0.74.2) - - React-debug (0.74.2) - - React-Fabric (0.74.2): + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - React-runtimeexecutor (= 0.74.6) + - React-debug (0.74.6) + - React-Fabric (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -341,20 +341,20 @@ PODS: - React-Core - React-cxxreact - React-debug - - React-Fabric/animations (= 0.74.2) - - React-Fabric/attributedstring (= 0.74.2) - - React-Fabric/componentregistry (= 0.74.2) - - React-Fabric/componentregistrynative (= 0.74.2) - - React-Fabric/components (= 0.74.2) - - React-Fabric/core (= 0.74.2) - - React-Fabric/imagemanager (= 0.74.2) - - React-Fabric/leakchecker (= 0.74.2) - - React-Fabric/mounting (= 0.74.2) - - React-Fabric/scheduler (= 0.74.2) - - React-Fabric/telemetry (= 0.74.2) - - React-Fabric/templateprocessor (= 0.74.2) - - React-Fabric/textlayoutmanager (= 0.74.2) - - React-Fabric/uimanager (= 0.74.2) + - React-Fabric/animations (= 0.74.6) + - React-Fabric/attributedstring (= 0.74.6) + - React-Fabric/componentregistry (= 0.74.6) + - React-Fabric/componentregistrynative (= 0.74.6) + - React-Fabric/components (= 0.74.6) + - React-Fabric/core (= 0.74.6) + - React-Fabric/imagemanager (= 0.74.6) + - React-Fabric/leakchecker (= 0.74.6) + - React-Fabric/mounting (= 0.74.6) + - React-Fabric/scheduler (= 0.74.6) + - React-Fabric/telemetry (= 0.74.6) + - React-Fabric/templateprocessor (= 0.74.6) + - React-Fabric/textlayoutmanager (= 0.74.6) + - React-Fabric/uimanager (= 0.74.6) - React-graphics - React-jsi - React-jsiexecutor @@ -363,7 +363,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/animations (0.74.2): + - React-Fabric/animations (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -382,7 +382,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/attributedstring (0.74.2): + - React-Fabric/attributedstring (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -401,7 +401,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/componentregistry (0.74.2): + - React-Fabric/componentregistry (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -420,7 +420,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/componentregistrynative (0.74.2): + - React-Fabric/componentregistrynative (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -439,7 +439,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components (0.74.2): + - React-Fabric/components (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -450,17 +450,17 @@ PODS: - React-Core - React-cxxreact - React-debug - - React-Fabric/components/inputaccessory (= 0.74.2) - - React-Fabric/components/legacyviewmanagerinterop (= 0.74.2) - - React-Fabric/components/modal (= 0.74.2) - - React-Fabric/components/rncore (= 0.74.2) - - React-Fabric/components/root (= 0.74.2) - - React-Fabric/components/safeareaview (= 0.74.2) - - React-Fabric/components/scrollview (= 0.74.2) - - React-Fabric/components/text (= 0.74.2) - - React-Fabric/components/textinput (= 0.74.2) - - React-Fabric/components/unimplementedview (= 0.74.2) - - React-Fabric/components/view (= 0.74.2) + - React-Fabric/components/inputaccessory (= 0.74.6) + - React-Fabric/components/legacyviewmanagerinterop (= 0.74.6) + - React-Fabric/components/modal (= 0.74.6) + - React-Fabric/components/rncore (= 0.74.6) + - React-Fabric/components/root (= 0.74.6) + - React-Fabric/components/safeareaview (= 0.74.6) + - React-Fabric/components/scrollview (= 0.74.6) + - React-Fabric/components/text (= 0.74.6) + - React-Fabric/components/textinput (= 0.74.6) + - React-Fabric/components/unimplementedview (= 0.74.6) + - React-Fabric/components/view (= 0.74.6) - React-graphics - React-jsi - React-jsiexecutor @@ -469,7 +469,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/inputaccessory (0.74.2): + - React-Fabric/components/inputaccessory (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -488,7 +488,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/legacyviewmanagerinterop (0.74.2): + - React-Fabric/components/legacyviewmanagerinterop (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -507,7 +507,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/modal (0.74.2): + - React-Fabric/components/modal (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -526,7 +526,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/rncore (0.74.2): + - React-Fabric/components/rncore (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -545,7 +545,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/root (0.74.2): + - React-Fabric/components/root (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -564,7 +564,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/safeareaview (0.74.2): + - React-Fabric/components/safeareaview (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -583,7 +583,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/scrollview (0.74.2): + - React-Fabric/components/scrollview (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -602,7 +602,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/text (0.74.2): + - React-Fabric/components/text (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -621,7 +621,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/textinput (0.74.2): + - React-Fabric/components/textinput (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -640,7 +640,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/unimplementedview (0.74.2): + - React-Fabric/components/unimplementedview (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -659,7 +659,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/components/view (0.74.2): + - React-Fabric/components/view (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -679,7 +679,7 @@ PODS: - React-utils - ReactCommon/turbomodule/core - Yoga - - React-Fabric/core (0.74.2): + - React-Fabric/core (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -698,7 +698,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/imagemanager (0.74.2): + - React-Fabric/imagemanager (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -717,7 +717,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/leakchecker (0.74.2): + - React-Fabric/leakchecker (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -736,7 +736,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/mounting (0.74.2): + - React-Fabric/mounting (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -755,7 +755,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/scheduler (0.74.2): + - React-Fabric/scheduler (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -774,7 +774,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/telemetry (0.74.2): + - React-Fabric/telemetry (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -793,7 +793,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/templateprocessor (0.74.2): + - React-Fabric/templateprocessor (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -812,7 +812,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/textlayoutmanager (0.74.2): + - React-Fabric/textlayoutmanager (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -832,7 +832,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-Fabric/uimanager (0.74.2): + - React-Fabric/uimanager (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog @@ -851,45 +851,45 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon/turbomodule/core - - React-FabricImage (0.74.2): + - React-FabricImage (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly/Fabric (= 2024.01.01.00) - - RCTRequired (= 0.74.2) - - RCTTypeSafety (= 0.74.2) + - RCTRequired (= 0.74.6) + - RCTTypeSafety (= 0.74.6) - React-Fabric - React-graphics - React-ImageManager - React-jsi - - React-jsiexecutor (= 0.74.2) + - React-jsiexecutor (= 0.74.6) - React-logger - React-rendererdebug - React-utils - ReactCommon - Yoga - - React-featureflags (0.74.2) - - React-graphics (0.74.2): + - React-featureflags (0.74.6) + - React-graphics (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - RCT-Folly/Fabric (= 2024.01.01.00) - - React-Core/Default (= 0.74.2) + - React-Core/Default (= 0.74.6) - React-utils - - React-hermes (0.74.2): + - React-hermes (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-cxxreact (= 0.74.2) + - React-cxxreact (= 0.74.6) - React-jsi - - React-jsiexecutor (= 0.74.2) + - React-jsiexecutor (= 0.74.6) - React-jsinspector - - React-perflogger (= 0.74.2) + - React-perflogger (= 0.74.6) - React-runtimeexecutor - - React-ImageManager (0.74.2): + - React-ImageManager (0.74.6): - glog - RCT-Folly/Fabric - React-Core/Default @@ -898,47 +898,47 @@ PODS: - React-graphics - React-rendererdebug - React-utils - - React-jserrorhandler (0.74.2): + - React-jserrorhandler (0.74.6): - RCT-Folly/Fabric (= 2024.01.01.00) - React-debug - React-jsi - React-Mapbuffer - - React-jsi (0.74.2): + - React-jsi (0.74.6): - boost (= 1.83.0) - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-jsiexecutor (0.74.2): + - React-jsiexecutor (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-cxxreact (= 0.74.2) - - React-jsi (= 0.74.2) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) - React-jsinspector - - React-perflogger (= 0.74.2) - - React-jsinspector (0.74.2): + - React-perflogger (= 0.74.6) + - React-jsinspector (0.74.6): - DoubleConversion - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - React-featureflags - React-jsi - - React-runtimeexecutor (= 0.74.2) - - React-jsitracing (0.74.2): + - React-runtimeexecutor (= 0.74.6) + - React-jsitracing (0.74.6): - React-jsi - - React-logger (0.74.2): + - React-logger (0.74.6): - glog - - React-Mapbuffer (0.74.2): + - React-Mapbuffer (0.74.6): - glog - React-debug - - react-native-safe-area-context (4.10.6): + - react-native-safe-area-context (4.12.0): - React-Core - - React-nativeconfig (0.74.2) - - React-NativeModulesApple (0.74.2): + - React-nativeconfig (0.74.6) + - React-NativeModulesApple (0.74.6): - glog - hermes-engine - React-callinvoker @@ -949,10 +949,10 @@ PODS: - React-runtimeexecutor - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-perflogger (0.74.2) - - React-RCTActionSheet (0.74.2): - - React-Core/RCTActionSheetHeaders (= 0.74.2) - - React-RCTAnimation (0.74.2): + - React-perflogger (0.74.6) + - React-RCTActionSheet (0.74.6): + - React-Core/RCTActionSheetHeaders (= 0.74.6) + - React-RCTAnimation (0.74.6): - RCT-Folly (= 2024.01.01.00) - RCTTypeSafety - React-Codegen @@ -960,7 +960,7 @@ PODS: - React-jsi - React-NativeModulesApple - ReactCommon - - React-RCTAppDelegate (0.74.2): + - React-RCTAppDelegate (0.74.6): - RCT-Folly (= 2024.01.01.00) - RCTRequired - RCTTypeSafety @@ -984,7 +984,7 @@ PODS: - React-runtimescheduler - React-utils - ReactCommon - - React-RCTBlob (0.74.2): + - React-RCTBlob (0.74.6): - DoubleConversion - fmt (= 9.1.0) - hermes-engine @@ -997,7 +997,7 @@ PODS: - React-NativeModulesApple - React-RCTNetwork - ReactCommon - - React-RCTFabric (0.74.2): + - React-RCTFabric (0.74.6): - glog - hermes-engine - RCT-Folly/Fabric (= 2024.01.01.00) @@ -1017,7 +1017,7 @@ PODS: - React-runtimescheduler - React-utils - Yoga - - React-RCTImage (0.74.2): + - React-RCTImage (0.74.6): - RCT-Folly (= 2024.01.01.00) - RCTTypeSafety - React-Codegen @@ -1026,14 +1026,14 @@ PODS: - React-NativeModulesApple - React-RCTNetwork - ReactCommon - - React-RCTLinking (0.74.2): + - React-RCTLinking (0.74.6): - React-Codegen - - React-Core/RCTLinkingHeaders (= 0.74.2) - - React-jsi (= 0.74.2) + - React-Core/RCTLinkingHeaders (= 0.74.6) + - React-jsi (= 0.74.6) - React-NativeModulesApple - ReactCommon - - ReactCommon/turbomodule/core (= 0.74.2) - - React-RCTNetwork (0.74.2): + - ReactCommon/turbomodule/core (= 0.74.6) + - React-RCTNetwork (0.74.6): - RCT-Folly (= 2024.01.01.00) - RCTTypeSafety - React-Codegen @@ -1041,7 +1041,7 @@ PODS: - React-jsi - React-NativeModulesApple - ReactCommon - - React-RCTSettings (0.74.2): + - React-RCTSettings (0.74.6): - RCT-Folly (= 2024.01.01.00) - RCTTypeSafety - React-Codegen @@ -1049,23 +1049,23 @@ PODS: - React-jsi - React-NativeModulesApple - ReactCommon - - React-RCTText (0.74.2): - - React-Core/RCTTextHeaders (= 0.74.2) + - React-RCTText (0.74.6): + - React-Core/RCTTextHeaders (= 0.74.6) - Yoga - - React-RCTVibration (0.74.2): + - React-RCTVibration (0.74.6): - RCT-Folly (= 2024.01.01.00) - React-Codegen - React-Core/RCTVibrationHeaders - React-jsi - React-NativeModulesApple - ReactCommon - - React-rendererdebug (0.74.2): + - React-rendererdebug (0.74.6): - DoubleConversion - fmt (= 9.1.0) - RCT-Folly (= 2024.01.01.00) - React-debug - - React-rncore (0.74.2) - - React-RuntimeApple (0.74.2): + - React-rncore (0.74.6) + - React-RuntimeApple (0.74.6): - hermes-engine - RCT-Folly/Fabric (= 2024.01.01.00) - React-callinvoker @@ -1083,7 +1083,7 @@ PODS: - React-runtimeexecutor - React-RuntimeHermes - React-utils - - React-RuntimeCore (0.74.2): + - React-RuntimeCore (0.74.6): - glog - hermes-engine - RCT-Folly/Fabric (= 2024.01.01.00) @@ -1096,9 +1096,9 @@ PODS: - React-runtimeexecutor - React-runtimescheduler - React-utils - - React-runtimeexecutor (0.74.2): - - React-jsi (= 0.74.2) - - React-RuntimeHermes (0.74.2): + - React-runtimeexecutor (0.74.6): + - React-jsi (= 0.74.6) + - React-RuntimeHermes (0.74.6): - hermes-engine - RCT-Folly/Fabric (= 2024.01.01.00) - React-featureflags @@ -1109,7 +1109,7 @@ PODS: - React-nativeconfig - React-RuntimeCore - React-utils - - React-runtimescheduler (0.74.2): + - React-runtimescheduler (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) @@ -1121,51 +1121,51 @@ PODS: - React-rendererdebug - React-runtimeexecutor - React-utils - - React-utils (0.74.2): + - React-utils (0.74.6): - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - React-debug - - React-jsi (= 0.74.2) - - ReactCommon (0.74.2): - - ReactCommon/turbomodule (= 0.74.2) - - ReactCommon/turbomodule (0.74.2): + - React-jsi (= 0.74.6) + - ReactCommon (0.74.6): + - ReactCommon/turbomodule (= 0.74.6) + - ReactCommon/turbomodule (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-callinvoker (= 0.74.2) - - React-cxxreact (= 0.74.2) - - React-jsi (= 0.74.2) - - React-logger (= 0.74.2) - - React-perflogger (= 0.74.2) - - ReactCommon/turbomodule/bridging (= 0.74.2) - - ReactCommon/turbomodule/core (= 0.74.2) - - ReactCommon/turbomodule/bridging (0.74.2): + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - ReactCommon/turbomodule/bridging (= 0.74.6) + - ReactCommon/turbomodule/core (= 0.74.6) + - ReactCommon/turbomodule/bridging (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-callinvoker (= 0.74.2) - - React-cxxreact (= 0.74.2) - - React-jsi (= 0.74.2) - - React-logger (= 0.74.2) - - React-perflogger (= 0.74.2) - - ReactCommon/turbomodule/core (0.74.2): + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - ReactCommon/turbomodule/core (0.74.6): - DoubleConversion - fmt (= 9.1.0) - glog - hermes-engine - RCT-Folly (= 2024.01.01.00) - - React-callinvoker (= 0.74.2) - - React-cxxreact (= 0.74.2) - - React-debug (= 0.74.2) - - React-jsi (= 0.74.2) - - React-logger (= 0.74.2) - - React-perflogger (= 0.74.2) - - React-utils (= 0.74.2) + - React-callinvoker (= 0.74.6) + - React-cxxreact (= 0.74.6) + - React-debug (= 0.74.6) + - React-jsi (= 0.74.6) + - React-logger (= 0.74.6) + - React-perflogger (= 0.74.6) + - React-utils (= 0.74.6) - RNCAsyncStorage (1.23.1): - React-Core - RNGestureHandler (2.17.1): @@ -1293,7 +1293,7 @@ EXTERNAL SOURCES: :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" hermes-engine: :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - :tag: hermes-2024-06-03-RNv0.74.2-bb1e74fe1e95c2b5a2f4f9311152da052badc2bc + :tag: hermes-2024-09-30-RNv0.74.6-6f503f52cbf98b2b37c4d3900e7f1193d6512548 RCT-Folly: :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" RCTDeprecation: @@ -1401,65 +1401,65 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: d3f49c53809116a5d38da093a8aa78bf551aed09 - DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 - FBLazyVector: 4bc164e5b5e6cfc288d2b5ff28643ea15fa1a589 + DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 + FBLazyVector: 4b1589d37c9ff4dba11a63083fe7515fad3ac111 fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 - glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f - hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7 + glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2 + hermes-engine: 2102c92e54a031a270fd1fe84169ec8a0901b7bd RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 - RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2 - RCTRequired: 194626909cfa8d39ca6663138c417bc6c431648c - RCTTypeSafety: 552aff5b8e8341660594db00e53ac889682bc120 - React: a57fe42044fe6ed3e828f8867ce070a6c5872754 - React-callinvoker: 6bedefb354a8848b534752417954caa3a5cf34f9 - React-Codegen: 0952549a095f8f8cb2fb5def1733b6b232769b1c - React-Core: 289ee3dfc1639bb9058c1e77427bb48169c26d7a - React-CoreModules: eda5ce541a1f552158317abd90a5a0f6a4f8d6f7 - React-cxxreact: 56bd17ccc6d4248116f7f95884ddb8c528379fb6 - React-debug: 164b8e302404d92d4bec39778a5e03bcb1b6eb08 - React-Fabric: 05620c36074e3ab397dd8f9db0deb6d3c38b4efa - React-FabricImage: 2a8a7f5729f5c44e32e6f58f7225ee1017ed0704 - React-featureflags: d97a6393993052e951e16a3b81206e22110be8d2 - React-graphics: ef07d701f4eb72ae6fca6ed0a7260a04f2a58dec - React-hermes: 6ccc301ababfa17a9aad25a7e33faf325fd024b4 - React-ImageManager: 00404bfe122626bc6493621f2a31ce802115a9b3 - React-jserrorhandler: 5e2632590a84363855b2083e6b3d501e93bc3f04 - React-jsi: 828703c235f4eea1647897ee8030efdc6e8e9f14 - React-jsiexecutor: 713d7bbef0a410cee5b3b78f73ed1fc16e177ba7 - React-jsinspector: e1fa5325a47f34645195c63e3312ddb6a2efef5d - React-jsitracing: 0fa7f78d8fdda794667cb2e6f19c874c1cf31d7e - React-logger: 29fa3e048f5f67fe396bc08af7606426d9bd7b5d - React-Mapbuffer: bf56147c9775491e53122a94c423ac201417e326 - react-native-safe-area-context: 94732d5f1813610c556c5afacb5ec3691ba379d1 - React-nativeconfig: 9f223cd321823afdecf59ed00861ab2d69ee0fc1 - React-NativeModulesApple: ff7efaff7098639db5631236cfd91d60abff04c0 - React-perflogger: 32ed45d9cee02cf6639acae34251590dccd30994 - React-RCTActionSheet: 19f967ddaea258182b56ef11437133b056ba2adf - React-RCTAnimation: d7f4137fc44a08bba465267ea7cb1dbdb7c4ec87 - React-RCTAppDelegate: 2b3f4d8009796af209a0d496e73276b743acee08 - React-RCTBlob: c6c3e1e0251700b7bea036b893913f22e2b9cb47 - React-RCTFabric: 93a3ea55169d19294f07092013c1c9ea7a015c9b - React-RCTImage: 40528ab74a4fef0f0e2ee797a074b26d120b6cc6 - React-RCTLinking: 385b5beb96749aae9ae1606746e883e1c9f8a6a7 - React-RCTNetwork: ffc9f05bd8fa5b3bce562199ba41235ad0af645c - React-RCTSettings: 21914178bb65cb2c20c655ae1fb401617ae74618 - React-RCTText: 7f8dba1a311e99f4de15bbace2350e805f33f024 - React-RCTVibration: e4ccf673579d0d94a96b3a0b64492db08f8324d5 - React-rendererdebug: ac70f40de137ce7bdbc55eaee60c467a215d9923 - React-rncore: edfff7a3f7f82ca1e0ba26978c6d84c7a8970dac - React-RuntimeApple: a0c98b75571aa5f44ddc7c6e9fd55803fa4db00f - React-RuntimeCore: 4b8db1fe2f3f4a3a5ecb22e1a419824e3e2cd7ef - React-runtimeexecutor: 5961acc7a77b69f964e1645a5d6069e124ce6b37 - React-RuntimeHermes: c5825bfae4815fdf4e9e639340c3a986a491884c - React-runtimescheduler: 56b642bf605ba5afa500d35790928fc1d51565ad - React-utils: 4476b7fcbbd95cfd002f3e778616155241d86e31 - ReactCommon: ecad995f26e0d1e24061f60f4e5d74782f003f12 + RCTDeprecation: 5f1d7e1f8ef6c53f0207e3ac0d0ca23575e8a6ab + RCTRequired: dcfd24ece09940bbf24b7c2974f4eb68a9baee55 + RCTTypeSafety: 3d65944055cc73f3bb28c3f05c7eaff2bb7ceb83 + React: c5e9f3c07a890a7e2a1ec9b79faa5c53dd7aee01 + React-callinvoker: 9ac986dbbd0e1b3463cb740b12c0b37dbcd15fed + React-Codegen: f5bd8446ba2b7d4a7bb4b25e137f44f286eb98f7 + React-Core: e8de3613460de4f02cdf6a0d726526fe273766b4 + React-CoreModules: 704fd52f83780e1870a946d5c3ea6ea1175aa523 + React-cxxreact: 75572783e7feae5a9f67157ea13968bf5ab274a3 + React-debug: 180e1bf4a97fa4404ee7fb68952cace122aa9d73 + React-Fabric: 1118712bb2dfae21b7d03d5daf419018e867f8e9 + React-FabricImage: 3878f51fa0ac860fb733f0a3c958442a7b5ec587 + React-featureflags: 05fabc5e165fa3864c879556e83a455b8a0573fa + React-graphics: 77bb68d9d913682a23c621df01ab61b2e58a5c70 + React-hermes: e4c48dab6830b282e1b41023cdae9b5c1f7ae075 + React-ImageManager: 6dbe9e5578c03d48b25e646ee65faa63b10e9544 + React-jserrorhandler: 16f7ef986fd20a2d342e5430c9dd0502a4136320 + React-jsi: b34c85593159261ce19f9c5fd0a627b3dc1483c6 + React-jsiexecutor: dcf7df38a296d104b196c193a0111d3f8a46da0b + React-jsinspector: 7dfaff7a0f57d23eeab023fe6a243f7707a14f6d + React-jsitracing: df84cc252a1f4bb0970f7fe13c470451b18c2cbb + React-logger: de9b65c8c7b71a663e6e99d347b1c445f5190c39 + React-Mapbuffer: 766bb4d8f655d816913325b353d800debbde7209 + react-native-safe-area-context: e9ad7d59486e7abda5ae8e8b7ca4da802d01cce5 + React-nativeconfig: c36a079fa219a9911070cc0058b746407e1ef47d + React-NativeModulesApple: eab84dd7bda0650f3ce41c53f76ffd49d689763f + React-perflogger: 9f21c9e3d8d220833e649a141fed8e5ca08977d9 + React-RCTActionSheet: 4c1f0dc56952f21a904e9f3bf74253eebee1d1d9 + React-RCTAnimation: 2c0b963d4fd978ce35daa330986a8bc442c7517a + React-RCTAppDelegate: bfb8293aa467aae8a28050e4095b0ceff284cbd5 + React-RCTBlob: a440574d805536c58c0c409cb5058334c8d2886c + React-RCTFabric: 6ea72ddf222ea1e373d0cbac88a1c62355701995 + React-RCTImage: e63bc8abbad2c5a4eda53ff35282d83bc9df7559 + React-RCTLinking: 12c6962253fd2f2494231eb8ae2fecae71e54e2f + React-RCTNetwork: 46df47440bd2bf63b0ca0a3c640471243ed2922a + React-RCTSettings: 5e1dfa02ae2d6cf54b3fdfebaa80837540c50847 + React-RCTText: 1c045a74e4fda674523c932f53bdd15b2a3ba085 + React-RCTVibration: 2ba9de92ae71526b3e02b8b8b2fce5cbf47c393f + React-rendererdebug: acb324f4975412bb14d55b29dd5ca6961b5fa06a + React-rncore: 63db76511a92db6cf9649c9d6567e014b7eeb6f5 + React-RuntimeApple: 6ecb0a470d1ef989895a4e5d31980004378ebf71 + React-RuntimeCore: 2794fdb42f7d37f3c877f614e12a0a240b594815 + React-runtimeexecutor: bf091a7f5f5130daab6d8216aaa290374b214cb8 + React-RuntimeHermes: 73249fcc108708a137119de18c3d40ac5ab90160 + React-runtimescheduler: b63ebebd3e000e0ba4ac19ca69bdac071559ad57 + React-utils: 2955bdc1b2ed495f14dc7d3bfbbb7e3624cfc0fc + ReactCommon: 5c504a77030c7ab89eee75b1725b80d8cee7f5d7 RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c RNGestureHandler: 8dbcccada4a7e702e7dec9338c251b1cf393c960 RNScreens: 5aeecbb09aa7285379b6e9f3c8a3c859bb16401c SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d - Yoga: 2f71ecf38d934aecb366e686278102a51679c308 + Yoga: 2655d94606b547901976080f15cdc6408575f699 PODFILE CHECKSUM: bdfd0c0d4d62df034d0ab13a17be5383b1247623 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/example/macos/.gitignore b/example/macos/.gitignore new file mode 100644 index 00000000..daba1410 --- /dev/null +++ b/example/macos/.gitignore @@ -0,0 +1,2 @@ +# CocoaPods +Pods/ diff --git a/example/macos/.xcode.env b/example/macos/.xcode.env new file mode 100644 index 00000000..772b339b --- /dev/null +++ b/example/macos/.xcode.env @@ -0,0 +1 @@ +export NODE_BINARY=$(command -v node) diff --git a/example/macos/Podfile b/example/macos/Podfile new file mode 100644 index 00000000..1419d2ca --- /dev/null +++ b/example/macos/Podfile @@ -0,0 +1,24 @@ +require_relative '../node_modules/react-native-macos/scripts/react_native_pods' +require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' + +prepare_react_native_project! + +target 'RNSACExample-macOS' do + platform :macos, '10.15' + use_native_modules! + + # Flags change depending on the env values. + flags = get_default_flags() + + use_react_native!( + :path => '../node_modules/react-native-macos', + :hermes_enabled => false, + :fabric_enabled => ENV['RCT_NEW_ARCH_ENABLED'] == '1', + # An absolute path to your application root. + :app_path => "#{Pod::Config.instance.installation_root}/.." + ) + + post_install do |installer| + react_native_post_install(installer) + end +end diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock new file mode 100644 index 00000000..aa0367c8 --- /dev/null +++ b/example/macos/Podfile.lock @@ -0,0 +1,1384 @@ +PODS: + - boost (1.83.0) + - DoubleConversion (1.1.6) + - FBLazyVector (0.74.15) + - fmt (9.1.0) + - glog (0.3.5) + - RCT-Folly (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Default (= 2024.01.01.00) + - RCT-Folly/Default (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCTDeprecation (0.74.15) + - RCTRequired (0.74.15) + - RCTTypeSafety (0.74.15): + - FBLazyVector (= 0.74.15) + - RCTRequired (= 0.74.15) + - React-Core (= 0.74.15) + - React (0.74.15): + - React-Core (= 0.74.15) + - React-Core/DevSupport (= 0.74.15) + - React-Core/RCTWebSocket (= 0.74.15) + - React-RCTActionSheet (= 0.74.15) + - React-RCTAnimation (= 0.74.15) + - React-RCTBlob (= 0.74.15) + - React-RCTImage (= 0.74.15) + - React-RCTLinking (= 0.74.15) + - React-RCTNetwork (= 0.74.15) + - React-RCTSettings (= 0.74.15) + - React-RCTText (= 0.74.15) + - React-RCTVibration (= 0.74.15) + - React-callinvoker (0.74.15) + - React-Codegen (0.74.15): + - DoubleConversion + - glog + - RCT-Folly + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-Core (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.15) + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/CoreModulesHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/Default (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/DevSupport (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.15) + - React-Core/RCTWebSocket (= 0.74.15) + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTActionSheetHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTAnimationHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTBlobHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTImageHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTLinkingHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTNetworkHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTSettingsHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTTextHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTVibrationHeaders (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTWebSocket (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.15) + - React-cxxreact + - React-featureflags + - React-jsc + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-CoreModules (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety (= 0.74.15) + - React-Codegen + - React-Core/CoreModulesHeaders (= 0.74.15) + - React-jsi (= 0.74.15) + - React-jsinspector + - React-NativeModulesApple + - React-RCTBlob + - React-RCTImage (= 0.74.15) + - ReactCommon + - SocketRocket (= 0.7.0) + - React-cxxreact (0.74.15): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.15) + - React-debug (= 0.74.15) + - React-jsi (= 0.74.15) + - React-jsinspector + - React-logger (= 0.74.15) + - React-perflogger (= 0.74.15) + - React-runtimeexecutor (= 0.74.15) + - React-debug (0.74.15) + - React-Fabric (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animations (= 0.74.15) + - React-Fabric/attributedstring (= 0.74.15) + - React-Fabric/componentregistry (= 0.74.15) + - React-Fabric/componentregistrynative (= 0.74.15) + - React-Fabric/components (= 0.74.15) + - React-Fabric/core (= 0.74.15) + - React-Fabric/imagemanager (= 0.74.15) + - React-Fabric/leakchecker (= 0.74.15) + - React-Fabric/mounting (= 0.74.15) + - React-Fabric/scheduler (= 0.74.15) + - React-Fabric/telemetry (= 0.74.15) + - React-Fabric/templateprocessor (= 0.74.15) + - React-Fabric/textlayoutmanager (= 0.74.15) + - React-Fabric/uimanager (= 0.74.15) + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/animations (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/attributedstring (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistry (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistrynative (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/components/inputaccessory (= 0.74.15) + - React-Fabric/components/legacyviewmanagerinterop (= 0.74.15) + - React-Fabric/components/modal (= 0.74.15) + - React-Fabric/components/rncore (= 0.74.15) + - React-Fabric/components/root (= 0.74.15) + - React-Fabric/components/safeareaview (= 0.74.15) + - React-Fabric/components/scrollview (= 0.74.15) + - React-Fabric/components/text (= 0.74.15) + - React-Fabric/components/textinput (= 0.74.15) + - React-Fabric/components/unimplementedview (= 0.74.15) + - React-Fabric/components/view (= 0.74.15) + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/inputaccessory (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/legacyviewmanagerinterop (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/modal (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/rncore (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/root (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/safeareaview (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/scrollview (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/text (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/textinput (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/unimplementedview (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/view (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-Fabric/core (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/imagemanager (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/leakchecker (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/mounting (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/scheduler (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/telemetry (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/templateprocessor (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/textlayoutmanager (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/uimanager + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/uimanager (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsc + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-FabricImage (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired (= 0.74.15) + - RCTTypeSafety (= 0.74.15) + - React-Fabric + - React-graphics + - React-ImageManager + - React-jsc + - React-jsi + - React-jsiexecutor (= 0.74.15) + - React-logger + - React-rendererdebug + - React-utils + - ReactCommon + - Yoga + - React-featureflags (0.74.15) + - React-graphics (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core/Default (= 0.74.15) + - React-utils + - React-ImageManager (0.74.15): + - glog + - RCT-Folly/Fabric + - React-Core/Default + - React-debug + - React-Fabric + - React-graphics + - React-rendererdebug + - React-utils + - React-jsc (0.74.15): + - React-jsc/Fabric (= 0.74.15) + - React-jsi (= 0.74.15) + - React-jsc/Fabric (0.74.15): + - React-jsi (= 0.74.15) + - React-jserrorhandler (0.74.15): + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-debug + - React-jsi + - React-Mapbuffer + - React-jsi (0.74.15): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-jsiexecutor (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-cxxreact (= 0.74.15) + - React-jsi (= 0.74.15) + - React-jsinspector + - React-perflogger (= 0.74.15) + - React-jsinspector (0.74.15): + - DoubleConversion + - glog + - RCT-Folly (= 2024.01.01.00) + - React-featureflags + - React-jsi + - React-runtimeexecutor (= 0.74.15) + - React-jsitracing (0.74.15): + - React-jsi + - React-logger (0.74.15): + - glog + - React-Mapbuffer (0.74.15): + - glog + - React-debug + - react-native-safe-area-context (4.12.0): + - React-Core + - React-nativeconfig (0.74.15) + - React-NativeModulesApple (0.74.15): + - glog + - React-callinvoker + - React-Core + - React-cxxreact + - React-jsc + - React-jsi + - React-jsinspector + - React-runtimeexecutor + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-perflogger (0.74.15) + - React-RCTActionSheet (0.74.15): + - React-Core/RCTActionSheetHeaders (= 0.74.15) + - React-RCTAnimation (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTAnimationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTAppDelegate (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-CoreModules + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-jsc + - React-nativeconfig + - React-NativeModulesApple + - React-RCTFabric + - React-RCTImage + - React-RCTNetwork + - React-rendererdebug + - React-RuntimeApple + - React-RuntimeCore + - React-runtimescheduler + - React-utils + - ReactCommon + - React-RCTBlob (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTBlobHeaders + - React-Core/RCTWebSocket + - React-jsi + - React-jsinspector + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTFabric (0.74.15): + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsc + - React-jsi + - React-jsinspector + - React-nativeconfig + - React-RCTImage + - React-RCTText + - React-rendererdebug + - React-runtimescheduler + - React-utils + - Yoga + - React-RCTImage (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTImageHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTLinking (0.74.15): + - React-Codegen + - React-Core/RCTLinkingHeaders (= 0.74.15) + - React-jsi (= 0.74.15) + - React-NativeModulesApple + - ReactCommon + - ReactCommon/turbomodule/core (= 0.74.15) + - React-RCTNetwork (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTNetworkHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTSettings (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTSettingsHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTText (0.74.15): + - React-Core/RCTTextHeaders (= 0.74.15) + - Yoga + - React-RCTVibration (0.74.15): + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTVibrationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-rendererdebug (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-rncore (0.74.15) + - React-RuntimeApple (0.74.15): + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-callinvoker + - React-Core/Default + - React-CoreModules + - React-cxxreact + - React-jsc + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-Mapbuffer + - React-NativeModulesApple + - React-RCTFabric + - React-RuntimeCore + - React-runtimeexecutor + - React-utils + - React-RuntimeCore (0.74.15): + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-cxxreact + - React-featureflags + - React-jsc + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - React-runtimeexecutor (0.74.15): + - React-jsi (= 0.74.15) + - React-runtimescheduler (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker + - React-cxxreact + - React-debug + - React-featureflags + - React-jsc + - React-jsi + - React-rendererdebug + - React-runtimeexecutor + - React-utils + - React-utils (0.74.15): + - glog + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-jsc + - React-jsi (= 0.74.15) + - ReactCommon (0.74.15): + - ReactCommon/turbomodule (= 0.74.15) + - ReactCommon/turbomodule (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.15) + - React-cxxreact (= 0.74.15) + - React-jsi (= 0.74.15) + - React-logger (= 0.74.15) + - React-perflogger (= 0.74.15) + - ReactCommon/turbomodule/bridging (= 0.74.15) + - ReactCommon/turbomodule/core (= 0.74.15) + - ReactCommon/turbomodule/bridging (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.15) + - React-cxxreact (= 0.74.15) + - React-jsi (= 0.74.15) + - React-logger (= 0.74.15) + - React-perflogger (= 0.74.15) + - ReactCommon/turbomodule/core (0.74.15): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.15) + - React-cxxreact (= 0.74.15) + - React-debug (= 0.74.15) + - React-jsi (= 0.74.15) + - React-logger (= 0.74.15) + - React-perflogger (= 0.74.15) + - React-utils (= 0.74.15) + - RNCAsyncStorage (1.23.1): + - React-Core + - RNGestureHandler (2.17.1): + - DoubleConversion + - glog + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - SocketRocket (0.7.0) + - Yoga (0.0.0) + +DEPENDENCIES: + - boost (from `../node_modules/react-native-macos/third-party-podspecs/boost.podspec`) + - DoubleConversion (from `../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec`) + - FBLazyVector (from `../node_modules/react-native-macos/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native-macos/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native-macos/third-party-podspecs/glog.podspec`) + - RCT-Folly (from `../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native-macos/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native-macos/Libraries/TypeSafety`) + - React (from `../node_modules/react-native-macos/`) + - React-callinvoker (from `../node_modules/react-native-macos/ReactCommon/callinvoker`) + - React-Codegen (from `build/generated/ios`) + - React-Core (from `../node_modules/react-native-macos/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native-macos/`) + - React-CoreModules (from `../node_modules/react-native-macos/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native-macos/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native-macos/ReactCommon/react/debug`) + - React-Fabric (from `../node_modules/react-native-macos/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native-macos/ReactCommon`) + - React-featureflags (from `../node_modules/react-native-macos/ReactCommon/react/featureflags`) + - React-graphics (from `../node_modules/react-native-macos/ReactCommon/react/renderer/graphics`) + - React-ImageManager (from `../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jsc (from `../node_modules/react-native-macos/ReactCommon/jsc`) + - React-jserrorhandler (from `../node_modules/react-native-macos/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native-macos/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native-macos/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native-macos/ReactCommon/jsinspector-modern`) + - React-jsitracing (from `../node_modules/react-native-macos/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native-macos/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native-macos/ReactCommon`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) + - React-nativeconfig (from `../node_modules/react-native-macos/ReactCommon`) + - React-NativeModulesApple (from `../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios`) + - React-perflogger (from `../node_modules/react-native-macos/ReactCommon/reactperflogger`) + - React-RCTActionSheet (from `../node_modules/react-native-macos/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native-macos/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native-macos/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native-macos/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native-macos/React`) + - React-RCTImage (from `../node_modules/react-native-macos/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native-macos/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native-macos/Libraries/Network`) + - React-RCTSettings (from `../node_modules/react-native-macos/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native-macos/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native-macos/Libraries/Vibration`) + - React-rendererdebug (from `../node_modules/react-native-macos/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native-macos/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native-macos/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native-macos/ReactCommon/runtimeexecutor`) + - React-runtimescheduler (from `../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler`) + - React-utils (from `../node_modules/react-native-macos/ReactCommon/react/utils`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native-macos/ReactCommon`) + - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" + - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) + - SocketRocket (from `../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec`) + - Yoga (from `../node_modules/react-native-macos/ReactCommon/yoga`) + +EXTERNAL SOURCES: + boost: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/boost.podspec" + DoubleConversion: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec" + FBLazyVector: + :path: "../node_modules/react-native-macos/Libraries/FBLazyVector" + fmt: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/fmt.podspec" + glog: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/glog.podspec" + RCT-Folly: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec" + RCTDeprecation: + :path: "../node_modules/react-native-macos/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + RCTRequired: + :path: "../node_modules/react-native-macos/Libraries/Required" + RCTTypeSafety: + :path: "../node_modules/react-native-macos/Libraries/TypeSafety" + React: + :path: "../node_modules/react-native-macos/" + React-callinvoker: + :path: "../node_modules/react-native-macos/ReactCommon/callinvoker" + React-Codegen: + :path: build/generated/ios + React-Core: + :path: "../node_modules/react-native-macos/" + React-CoreModules: + :path: "../node_modules/react-native-macos/React/CoreModules" + React-cxxreact: + :path: "../node_modules/react-native-macos/ReactCommon/cxxreact" + React-debug: + :path: "../node_modules/react-native-macos/ReactCommon/react/debug" + React-Fabric: + :path: "../node_modules/react-native-macos/ReactCommon" + React-FabricImage: + :path: "../node_modules/react-native-macos/ReactCommon" + React-featureflags: + :path: "../node_modules/react-native-macos/ReactCommon/react/featureflags" + React-graphics: + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/graphics" + React-ImageManager: + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/imagemanager/platform/ios" + React-jsc: + :path: "../node_modules/react-native-macos/ReactCommon/jsc" + React-jserrorhandler: + :path: "../node_modules/react-native-macos/ReactCommon/jserrorhandler" + React-jsi: + :path: "../node_modules/react-native-macos/ReactCommon/jsi" + React-jsiexecutor: + :path: "../node_modules/react-native-macos/ReactCommon/jsiexecutor" + React-jsinspector: + :path: "../node_modules/react-native-macos/ReactCommon/jsinspector-modern" + React-jsitracing: + :path: "../node_modules/react-native-macos/ReactCommon/hermes/executor/" + React-logger: + :path: "../node_modules/react-native-macos/ReactCommon/logger" + React-Mapbuffer: + :path: "../node_modules/react-native-macos/ReactCommon" + react-native-safe-area-context: + :path: "../node_modules/react-native-safe-area-context" + React-nativeconfig: + :path: "../node_modules/react-native-macos/ReactCommon" + React-NativeModulesApple: + :path: "../node_modules/react-native-macos/ReactCommon/react/nativemodule/core/platform/ios" + React-perflogger: + :path: "../node_modules/react-native-macos/ReactCommon/reactperflogger" + React-RCTActionSheet: + :path: "../node_modules/react-native-macos/Libraries/ActionSheetIOS" + React-RCTAnimation: + :path: "../node_modules/react-native-macos/Libraries/NativeAnimation" + React-RCTAppDelegate: + :path: "../node_modules/react-native-macos/Libraries/AppDelegate" + React-RCTBlob: + :path: "../node_modules/react-native-macos/Libraries/Blob" + React-RCTFabric: + :path: "../node_modules/react-native-macos/React" + React-RCTImage: + :path: "../node_modules/react-native-macos/Libraries/Image" + React-RCTLinking: + :path: "../node_modules/react-native-macos/Libraries/LinkingIOS" + React-RCTNetwork: + :path: "../node_modules/react-native-macos/Libraries/Network" + React-RCTSettings: + :path: "../node_modules/react-native-macos/Libraries/Settings" + React-RCTText: + :path: "../node_modules/react-native-macos/Libraries/Text" + React-RCTVibration: + :path: "../node_modules/react-native-macos/Libraries/Vibration" + React-rendererdebug: + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/debug" + React-rncore: + :path: "../node_modules/react-native-macos/ReactCommon" + React-RuntimeApple: + :path: "../node_modules/react-native-macos/ReactCommon/react/runtime/platform/ios" + React-RuntimeCore: + :path: "../node_modules/react-native-macos/ReactCommon/react/runtime" + React-runtimeexecutor: + :path: "../node_modules/react-native-macos/ReactCommon/runtimeexecutor" + React-runtimescheduler: + :path: "../node_modules/react-native-macos/ReactCommon/react/renderer/runtimescheduler" + React-utils: + :path: "../node_modules/react-native-macos/ReactCommon/react/utils" + ReactCommon: + :path: "../node_modules/react-native-macos/ReactCommon" + RNCAsyncStorage: + :path: "../node_modules/@react-native-async-storage/async-storage" + RNGestureHandler: + :path: "../node_modules/react-native-gesture-handler" + SocketRocket: + :podspec: "../node_modules/react-native-macos/third-party-podspecs/SocketRocket.podspec" + Yoga: + :path: "../node_modules/react-native-macos/ReactCommon/yoga" + +SPEC CHECKSUMS: + boost: 0686b6af8cbd638c784fea5afb789be66699823c + DoubleConversion: 5b92c4507c560bb62e7aa1acdf2785ea3ff08b3b + FBLazyVector: 1af115f47abb0b2d969834339ab6eb7c07829a75 + fmt: 03574da4b7ba40de39da59677ca66610ce8c4a02 + glog: ba31c1afa7dcf1915a109861bccdb4421be6175b + RCT-Folly: 2edbb9597acadc2312235c7ad6243d49852047a3 + RCTDeprecation: 81dc5d76e38f00f2f1d3f1b2f27e690d23c468c6 + RCTRequired: 3109916cc41b6c1d1ea17329cc7713ac9787f0e0 + RCTTypeSafety: 62ace79d95e5b1aaca28c691b4230dcee5f09167 + React: dfdffdd076201b6b5cfa28c704220c8c910c2bb8 + React-callinvoker: b1be07c77e07faf6c8160b8f92b9ec968a3c92bc + React-Codegen: 8781a00f349a4d2adb7ca2c7643a03932593e979 + React-Core: 43dbf7141f825c7f5cbe03a43bd58c5fffaae400 + React-CoreModules: 05cf2d1c88d245f71a6e3b5e5f88abe3189f9ec9 + React-cxxreact: 9837f6185a143e0ae2d6e7ee53fb2e4407b24149 + React-debug: 26457f2663e5badf420cf7e477a124713d9aecf7 + React-Fabric: 6ab2ce164c673865cc4841a043b638c2a171f398 + React-FabricImage: 12e5f0e8f1158e611e1b9950cd6d391ee8bc2f47 + React-featureflags: 01242980a57234e4f868ddcba3e49ae1ed942e85 + React-graphics: 468fde6d190540b4663b04273bc90fd47de48cdb + React-ImageManager: b62c8d26c7be2ab1d5ebbc1c87c11a2773d70d19 + React-jsc: 72cb2c416a8bb2fecb809bac63b3745f94ac476b + React-jserrorhandler: b33c5e0760d1f8029a30af255f3c859bf3aa2131 + React-jsi: 65704fff81559d66a29e0cb97e5b719a0f2697c0 + React-jsiexecutor: f9cd8afd2da0b93c735a8d4d827d2548435fb2d9 + React-jsinspector: e1b2f779773bf379b5271238ee7b50f783afa6f2 + React-jsitracing: 2c21d67b8c5d59bcb187f1069df249c7986d890a + React-logger: 5767dccdd73827e369868b02cfcac7b672e95611 + React-Mapbuffer: 7eaf9cd8fd5aa99abaf387f9dbf6606b063c192c + react-native-safe-area-context: e9ad7d59486e7abda5ae8e8b7ca4da802d01cce5 + React-nativeconfig: 92a4e4af840f84841d6d6a8cea2c41a2d9a3dca4 + React-NativeModulesApple: d8c0d0a338c8662155e719314e84cda2d5831d1c + React-perflogger: 7fd816053c868844cc10c577b08fb582d8196ef2 + React-RCTActionSheet: 01dba8e6521944a30cfecd5c99ace0de9dbfe394 + React-RCTAnimation: 1850b80bb637cbd681876f7146b653a71b692e72 + React-RCTAppDelegate: 8ce79575a82cde9d25f2cc47f0efe29954dac9c1 + React-RCTBlob: 8782c5c4651f6b68d4c4ed2fc2903bc878227907 + React-RCTFabric: f3676c3cdd8fa0b5f29a61ad1f4108e80847f07e + React-RCTImage: e245d1750f68d6dbfe4879460c760688979b2db4 + React-RCTLinking: 7390d4bc6b6c50541a097c242d281dae0260751d + React-RCTNetwork: 60b5f8ffe4f4038e00a43936164092bf3f2d042b + React-RCTSettings: 72cd19ac9316751b8a5ca137d85d92edf282b10c + React-RCTText: b7d3c1ed9a4df0fa9278f08152fe44f8955bf315 + React-RCTVibration: f8dac4bd5a8f52aa5b297e9f08c0050039fdea4a + React-rendererdebug: c2dd30dc7d75b58e3733f5391cf2fb9f36f09838 + React-rncore: aab9536eedf0070d04f01baf84e212c750930ee2 + React-RuntimeApple: 7c5a4c7521587a3bffabf23dace69304cb56d90a + React-RuntimeCore: 9684777cdbb0b837968bf14a89150146a06a95da + React-runtimeexecutor: 898bb06e4be721571b64b8207745c0278d333fec + React-runtimescheduler: f62ab80303f43dd2ca2e872e59bd36ad8b8e26d7 + React-utils: 3391347dfd0ed62f6bc5aa1ca456d7c99e22b0f3 + ReactCommon: dd273b875eba6ca517e81619029c86dfb4686409 + RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c + RNGestureHandler: fe57e804730a6fb0f45de002df857059c15d5665 + SocketRocket: f6c6249082c011e6de2de60ed641ef8bbe0cfac9 + Yoga: e3f68ef1eeddd6374cd66ccb7c90c043e4502810 + +PODFILE CHECKSUM: 862df702f25e4188767720aa401b485c0cfc71a6 + +COCOAPODS: 1.15.2 diff --git a/example/macos/PrivacyInfo.xcprivacy b/example/macos/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..41b8317f --- /dev/null +++ b/example/macos/PrivacyInfo.xcprivacy @@ -0,0 +1,37 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/example/macos/RNSACExample-macOS/AppDelegate.h b/example/macos/RNSACExample-macOS/AppDelegate.h new file mode 100644 index 00000000..63db9731 --- /dev/null +++ b/example/macos/RNSACExample-macOS/AppDelegate.h @@ -0,0 +1,6 @@ +#import +#import + +@interface AppDelegate : RCTAppDelegate + +@end diff --git a/example/macos/RNSACExample-macOS/AppDelegate.mm b/example/macos/RNSACExample-macOS/AppDelegate.mm new file mode 100644 index 00000000..ec5ce912 --- /dev/null +++ b/example/macos/RNSACExample-macOS/AppDelegate.mm @@ -0,0 +1,45 @@ +#import "AppDelegate.h" + +#import + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)notification +{ + self.moduleName = @"RNSACExample"; + // You can add your custom initial props in the dictionary below. + // They will be passed down to the ViewController used by React Native. + self.initialProps = @{}; + + return [super applicationDidFinishLaunching:notification]; +} + +- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge +{ + return [self bundleURL]; +} + +- (NSURL *)bundleURL +{ +#if DEBUG + return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; +#else + return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; +#endif +} + +/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off. +/// +/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html +/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture). +/// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`. +- (BOOL)concurrentRootEnabled +{ +#ifdef RN_FABRIC_ENABLED + return true; +#else + return false; +#endif +} + +@end diff --git a/example/macos/RNSACExample-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/example/macos/RNSACExample-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..3f00db43 --- /dev/null +++ b/example/macos/RNSACExample-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/example/macos/RNSACExample-macOS/Assets.xcassets/Contents.json b/example/macos/RNSACExample-macOS/Assets.xcassets/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/example/macos/RNSACExample-macOS/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/example/macos/RNSACExample-macOS/Base.lproj/Main.storyboard b/example/macos/RNSACExample-macOS/Base.lproj/Main.storyboard new file mode 100644 index 00000000..b1d8a716 --- /dev/null +++ b/example/macos/RNSACExample-macOS/Base.lproj/Main.storyboard @@ -0,0 +1,684 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example/macos/RNSACExample-macOS/Info.plist b/example/macos/RNSACExample-macOS/Info.plist new file mode 100644 index 00000000..5c7ebb78 --- /dev/null +++ b/example/macos/RNSACExample-macOS/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExceptionDomains + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + + + + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + NSSupportsAutomaticTermination + + NSSupportsSuddenTermination + + + diff --git a/example/macos/RNSACExample-macOS/RNSACExample.entitlements b/example/macos/RNSACExample-macOS/RNSACExample.entitlements new file mode 100644 index 00000000..625af03d --- /dev/null +++ b/example/macos/RNSACExample-macOS/RNSACExample.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + + diff --git a/example/macos/RNSACExample-macOS/main.m b/example/macos/RNSACExample-macOS/main.m new file mode 100644 index 00000000..1f154fcf --- /dev/null +++ b/example/macos/RNSACExample-macOS/main.m @@ -0,0 +1,5 @@ +#import + +int main(int argc, const char *argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/example/macos/RNSACExample.xcodeproj/project.pbxproj b/example/macos/RNSACExample.xcodeproj/project.pbxproj new file mode 100644 index 00000000..ddba4b76 --- /dev/null +++ b/example/macos/RNSACExample.xcodeproj/project.pbxproj @@ -0,0 +1,581 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 434DC428AF014EAE998438A5 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = FC9127A43FC769703E9F3ECE /* PrivacyInfo.xcprivacy */; }; + 4B77DB58323F1C0AFA08943C /* libPods-RNSACExample-macOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B24E9B5DFA8B998177164D47 /* libPods-RNSACExample-macOS.a */; }; + 5142014D2437B4B30078DB4F /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5142014C2437B4B30078DB4F /* AppDelegate.mm */; }; + 514201522437B4B40078DB4F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 514201512437B4B40078DB4F /* Assets.xcassets */; }; + 514201552437B4B40078DB4F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 514201532437B4B40078DB4F /* Main.storyboard */; }; + 514201582437B4B40078DB4F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 514201572437B4B40078DB4F /* main.m */; }; + B32E1694DC5D8E1C3A2D09D1 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6E9E80175040B192301FA1A7 /* PrivacyInfo.xcprivacy */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 13B07F961A680F5B00A75B9A /* RNSACExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNSACExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 514201492437B4B30078DB4F /* RNSACExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNSACExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 5142014B2437B4B30078DB4F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 5142014C2437B4B30078DB4F /* AppDelegate.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = ""; }; + 514201512437B4B40078DB4F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 514201542437B4B40078DB4F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 514201562437B4B40078DB4F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 514201572437B4B40078DB4F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 514201592437B4B40078DB4F /* RNSACExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RNSACExample.entitlements; sourceTree = ""; }; + 6E9E80175040B192301FA1A7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = ../PrivacyInfo.xcprivacy; sourceTree = ""; }; + ACF7F41001BE35F3488A81C1 /* Pods-RNSACExample-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNSACExample-macOS.debug.xcconfig"; path = "Target Support Files/Pods-RNSACExample-macOS/Pods-RNSACExample-macOS.debug.xcconfig"; sourceTree = ""; }; + B24E9B5DFA8B998177164D47 /* libPods-RNSACExample-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNSACExample-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + D065571E5BEC7F53EC3A471F /* Pods-RNSACExample-macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNSACExample-macOS.release.xcconfig"; path = "Target Support Files/Pods-RNSACExample-macOS/Pods-RNSACExample-macOS.release.xcconfig"; sourceTree = ""; }; + ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + FC9127A43FC769703E9F3ECE /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 514201462437B4B30078DB4F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4B77DB58323F1C0AFA08943C /* libPods-RNSACExample-macOS.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 138B7C9DAE255D985C03A18F /* Pods */ = { + isa = PBXGroup; + children = ( + ACF7F41001BE35F3488A81C1 /* Pods-RNSACExample-macOS.debug.xcconfig */, + D065571E5BEC7F53EC3A471F /* Pods-RNSACExample-macOS.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED297162215061F000B7C4FE /* JavaScriptCore.framework */, + B24E9B5DFA8B998177164D47 /* libPods-RNSACExample-macOS.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + 5142014A2437B4B30078DB4F /* RNSACExample-macOS */ = { + isa = PBXGroup; + children = ( + 5142014B2437B4B30078DB4F /* AppDelegate.h */, + 5142014C2437B4B30078DB4F /* AppDelegate.mm */, + 514201512437B4B40078DB4F /* Assets.xcassets */, + 514201532437B4B40078DB4F /* Main.storyboard */, + 514201562437B4B40078DB4F /* Info.plist */, + 514201572437B4B40078DB4F /* main.m */, + 514201592437B4B40078DB4F /* RNSACExample.entitlements */, + 6E9E80175040B192301FA1A7 /* PrivacyInfo.xcprivacy */, + ); + path = "RNSACExample-macOS"; + sourceTree = ""; + }; + 832341AE1AAA6A7D00B99B32 /* Libraries */ = { + isa = PBXGroup; + children = ( + ); + name = Libraries; + sourceTree = ""; + }; + 83CBB9F61A601CBA00E9B192 = { + isa = PBXGroup; + children = ( + 5142014A2437B4B30078DB4F /* RNSACExample-macOS */, + 832341AE1AAA6A7D00B99B32 /* Libraries */, + 83CBBA001A601CBA00E9B192 /* Products */, + 2D16E6871FA4F8E400B85C8A /* Frameworks */, + FC9127A43FC769703E9F3ECE /* PrivacyInfo.xcprivacy */, + 138B7C9DAE255D985C03A18F /* Pods */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 2; + usesTabs = 0; + }; + 83CBBA001A601CBA00E9B192 /* Products */ = { + isa = PBXGroup; + children = ( + 13B07F961A680F5B00A75B9A /* RNSACExample.app */, + 514201492437B4B30078DB4F /* RNSACExample.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 13B07F861A680F5B00A75B9A /* RNSACExample-iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNSACExample-iOS" */; + buildPhases = ( + 13B07F871A680F5B00A75B9A /* Sources */, + 13B07F8C1A680F5B00A75B9A /* Frameworks */, + 13B07F8E1A680F5B00A75B9A /* Resources */, + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RNSACExample-iOS"; + productName = RNSACExample; + productReference = 13B07F961A680F5B00A75B9A /* RNSACExample.app */; + productType = "com.apple.product-type.application"; + }; + 514201482437B4B30078DB4F /* RNSACExample-macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5142015A2437B4B40078DB4F /* Build configuration list for PBXNativeTarget "RNSACExample-macOS" */; + buildPhases = ( + 1A938104A937498D81B3BD3B /* [CP] Check Pods Manifest.lock */, + 514201452437B4B30078DB4F /* Sources */, + 514201462437B4B30078DB4F /* Frameworks */, + 514201472437B4B30078DB4F /* Resources */, + 381D8A6E24576A4E00465D17 /* Bundle React Native code and images */, + 205C8FCC1903F103BAE032B2 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "RNSACExample-macOS"; + productName = RNSACExample; + productReference = 514201492437B4B30078DB4F /* RNSACExample.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 83CBB9F71A601CBA00E9B192 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1130; + TargetAttributes = { + 13B07F861A680F5B00A75B9A = { + LastSwiftMigration = 1120; + }; + 514201482437B4B30078DB4F = { + CreatedOnToolsVersion = 11.4; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNSACExample" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 83CBB9F61A601CBA00E9B192; + productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 13B07F861A680F5B00A75B9A /* RNSACExample-iOS */, + 514201482437B4B30078DB4F /* RNSACExample-macOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 13B07F8E1A680F5B00A75B9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 434DC428AF014EAE998438A5 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 514201472437B4B30078DB4F /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 514201522437B4B40078DB4F /* Assets.xcassets in Resources */, + 514201552437B4B40078DB4F /* Main.storyboard in Resources */, + B32E1694DC5D8E1C3A2D09D1 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Bundle React Native code and images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native-macos/scripts/react-native-xcode.sh\n"; + }; + 1A938104A937498D81B3BD3B /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RNSACExample-macOS-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 205C8FCC1903F103BAE032B2 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-RNSACExample-macOS/Pods-RNSACExample-macOS-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/RNCAsyncStorage/RNCAsyncStorage_resources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/RCTI18nStrings.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNCAsyncStorage_resources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCTI18nStrings.bundle", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNSACExample-macOS/Pods-RNSACExample-macOS-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 381D8A6E24576A4E00465D17 /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Bundle React Native code and images"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native-macos/scripts/react-native-xcode.sh\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 13B07F871A680F5B00A75B9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 514201452437B4B30078DB4F /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 514201582437B4B40078DB4F /* main.m in Sources */, + 5142014D2437B4B30078DB4F /* AppDelegate.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 514201532437B4B40078DB4F /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 514201542437B4B40078DB4F /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 13B07F941A680F5B00A75B9A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = "RNSACExample-iOS/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = RNSACExample; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 13B07F951A680F5B00A75B9A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = "RNSACExample-iOS/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = RNSACExample; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 5142015B2437B4B40078DB4F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = ACF7F41001BE35F3488A81C1 /* Pods-RNSACExample-macOS.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + DEAD_CODE_STRIPPING = NO; + INFOPLIST_FILE = "RNSACExample-macos/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.15; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = RNSACExample; + SDKROOT = macosx; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 5142015C2437B4B40078DB4F /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D065571E5BEC7F53EC3A471F /* Pods-RNSACExample-macOS.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + INFOPLIST_FILE = "RNSACExample-macos/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.15; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = RNSACExample; + SDKROOT = macosx; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 83CBBA201A601CBA00E9B192 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CC = ""; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CXX = ""; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD = ""; + LDPLUSPLUS = ""; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = false; + }; + name = Debug; + }; + 83CBBA211A601CBA00E9B192 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CC = ""; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + CXX = ""; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD = ""; + LDPLUSPLUS = ""; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ( + "$(inherited)", + " ", + ); + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = false; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNSACExample-iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 13B07F941A680F5B00A75B9A /* Debug */, + 13B07F951A680F5B00A75B9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5142015A2437B4B40078DB4F /* Build configuration list for PBXNativeTarget "RNSACExample-macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5142015B2437B4B40078DB4F /* Debug */, + 5142015C2437B4B40078DB4F /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNSACExample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83CBBA201A601CBA00E9B192 /* Debug */, + 83CBBA211A601CBA00E9B192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; +} diff --git a/example/macos/RNSACExample.xcodeproj/xcshareddata/xcschemes/RNSACExample-macOS.xcscheme b/example/macos/RNSACExample.xcodeproj/xcshareddata/xcschemes/RNSACExample-macOS.xcscheme new file mode 100644 index 00000000..b584f792 --- /dev/null +++ b/example/macos/RNSACExample.xcodeproj/xcshareddata/xcschemes/RNSACExample-macOS.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/example/macos/RNSACExample.xcworkspace/contents.xcworkspacedata b/example/macos/RNSACExample.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..675dbf64 --- /dev/null +++ b/example/macos/RNSACExample.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/example/metro.config.js b/example/metro.config.js index 8569ef31..db593875 100644 --- a/example/metro.config.js +++ b/example/metro.config.js @@ -1,49 +1,20 @@ -const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config'); -const path = require('path'); -const escape = require('escape-string-regexp'); -const exclusionList = require('metro-config/src/defaults/exclusionList'); -const pak = require('../package.json'); +const path = require('node:path'); +const { makeMetroConfig } = require('@rnx-kit/metro-config'); -const root = path.resolve(__dirname, '..'); - -const modules = Object.keys({ - ...pak.peerDependencies, -}); - -/** - * Metro configuration - * https://reactnative.dev/docs/metro - * - * @type {import('metro-config').MetroConfig} - */ -const config = { - projectRoot: __dirname, - watchFolders: [root], - - // We need to make sure that only one version is loaded for peerDependencies - // So we block them at the root, and alias them to the versions in example's node_modules +module.exports = makeMetroConfig({ + watchFolders: [path.dirname(__dirname)], resolver: { - blacklistRE: exclusionList( - modules.map( - (m) => - new RegExp(`^${escape(path.join(root, 'node_modules', m))}\\/.*$`), - ), - ), - - extraNodeModules: modules.reduce((acc, name) => { - acc[name] = path.join(__dirname, 'node_modules', name); - return acc; - }, {}), + resolverMainFields: ['main', 'react-native'], + extraNodeModules: { + 'react-native-safe-area-context': path.dirname(__dirname), + }, }, - transformer: { getTransformOptions: async () => ({ transform: { experimentalImportSupport: false, - inlineRequires: true, + inlineRequires: false, }, }), }, -}; - -module.exports = mergeConfig(getDefaultConfig(__dirname), config); +}); diff --git a/example/package.json b/example/package.json index cdc35ed6..c0edca6e 100644 --- a/example/package.json +++ b/example/package.json @@ -5,6 +5,7 @@ "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", + "macos": "react-native run-macos", "start": "react-native start" }, "dependencies": { @@ -14,8 +15,9 @@ "@react-navigation/native-stack": "^6.9.26", "@react-navigation/stack": "^6.3.29", "react": "^18.3.1", - "react-native": "^0.74.2", + "react-native": "~0.74.6", "react-native-gesture-handler": "^2.17.1", + "react-native-macos": "~0.74.15", "react-native-safe-area-context": "link:../", "react-native-screens": "^3.32.0" }, @@ -26,6 +28,7 @@ "@react-native/babel-preset": "0.74.84", "@react-native/metro-config": "0.74.84", "@react-native/typescript-config": "0.74.84", + "@rnx-kit/metro-config": "^2.0.1", "@types/react": "^18.3.3", "typescript": "^5.5.2" }, diff --git a/example/yarn.lock b/example/yarn.lock index 759388f1..ff9e2911 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -1308,45 +1308,45 @@ dependencies: merge-options "^3.0.4" -"@react-native-community/cli-clean@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-13.6.8.tgz#95ce964047f005152ac100394b6dcd5d2cc2a474" - integrity sha512-B1uxlm1N4BQuWFvBL3yRl3LVvydjswsdbTi7tMrHMtSxfRio1p9HjcmDzlzKco09Y+8qBGgakm3jcMZGLbhXQQ== +"@react-native-community/cli-clean@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-13.6.9.tgz#b6754f39c2b877c9d730feb848945150e1d52209" + integrity sha512-7Dj5+4p9JggxuVNOjPbduZBAP1SUgNhLKVw5noBUzT/3ZpUZkDM+RCSwyoyg8xKWoE4OrdUAXwAFlMcFDPKykA== dependencies: - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" execa "^5.0.0" fast-glob "^3.3.2" -"@react-native-community/cli-config@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-13.6.8.tgz#6829ea7cdc237776c300be06f84c222bf17cf4c5" - integrity sha512-RabCkIsWdP4Ex/sf1uSP9qxc30utm+0uIJAjrZkNQynm7T4Lyqn/kT3LKm4yM6M0Qk61YxGguiaXF4601vAduw== +"@react-native-community/cli-config@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-13.6.9.tgz#d609a64d40a173c89bd7d24e31807bb7dcba69f9" + integrity sha512-rFfVBcNojcMm+KKHE/xqpqXg8HoKl4EC7bFHUrahMJ+y/tZll55+oX/PGG37rzB8QzP2UbMQ19DYQKC1G7kXeg== dependencies: - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" cosmiconfig "^5.1.0" deepmerge "^4.3.0" fast-glob "^3.3.2" joi "^17.2.1" -"@react-native-community/cli-debugger-ui@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-13.6.8.tgz#d52fccd4b3e0860d96d75ff5b0ebb128bdc93dfd" - integrity sha512-2cS+MX/Su6sVSjqpDftFOXbK7EuPg98xzsPkdPhkQnkZwvXqodK9CAMuDMbx3lBHHtrPrpMbBCpFmPN8iVOnlA== +"@react-native-community/cli-debugger-ui@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-13.6.9.tgz#bc5727c51964206a00d417e5148b46331a81d5a5" + integrity sha512-TkN7IdFmGPPvTpAo3nCAH9uwGCPxWBEAwpqEZDrq0NWllI7Tdie8vDpGdrcuCcKalmhq6OYnkXzeBah7O1Ztpw== dependencies: serve-static "^1.13.1" -"@react-native-community/cli-doctor@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-13.6.8.tgz#05f696d94e975e4dcf7f9a1fde32fb43e4bb8a5f" - integrity sha512-/3Vdy9J3hyiu0y3nd/CU3kBqPlTRxnLXg7V6jrA1jbTOlZAMyV9imEkrqEaGK0SMOyMhh9Pipf98Ozhk0Nl4QA== +"@react-native-community/cli-doctor@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-13.6.9.tgz#f1d4eeff427ddc8a9d19851042621c10939c35cb" + integrity sha512-5quFaLdWFQB+677GXh5dGU9I5eg2z6Vg4jOX9vKnc9IffwyIFAyJfCZHrxLSRPDGNXD7biDQUdoezXYGwb6P/A== dependencies: - "@react-native-community/cli-config" "13.6.8" - "@react-native-community/cli-platform-android" "13.6.8" - "@react-native-community/cli-platform-apple" "13.6.8" - "@react-native-community/cli-platform-ios" "13.6.8" - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-config" "13.6.9" + "@react-native-community/cli-platform-android" "13.6.9" + "@react-native-community/cli-platform-apple" "13.6.9" + "@react-native-community/cli-platform-ios" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" command-exists "^1.2.8" deepmerge "^4.3.0" @@ -1360,54 +1360,54 @@ wcwidth "^1.0.1" yaml "^2.2.1" -"@react-native-community/cli-hermes@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-13.6.8.tgz#85f10f663bc79f299146e749c48c06ebc4da9e29" - integrity sha512-lZi/OBFuZUj5cLK94oEgtrtmxGoqeYVRcnHXl/R5c4put9PDl+qH2bEMlGZkFiw57ae3UZKr3TMk+1s4jh3FYQ== +"@react-native-community/cli-hermes@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-hermes/-/cli-hermes-13.6.9.tgz#88c8dfe936a0d4272efc54429eda9ccc3fca3ad8" + integrity sha512-GvwiwgvFw4Ws+krg2+gYj8sR3g05evmNjAHkKIKMkDTJjZ8EdyxbkifRUs1ZCq3TMZy2oeblZBXCJVOH4W7ZbA== dependencies: - "@react-native-community/cli-platform-android" "13.6.8" - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-platform-android" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" hermes-profile-transformer "^0.0.6" -"@react-native-community/cli-platform-android@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-13.6.8.tgz#a3672512a9b844f93d6050537c59dd58e1b12f17" - integrity sha512-vWrqeLRRTwp2kO33nbrAgbYn8HR2c2CpIfyVJY9Ckk7HGUSwDyxdcSu7YBvt2ShdfLZH0HctWFNXsgGrfg6BDw== +"@react-native-community/cli-platform-android@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-13.6.9.tgz#b175b9b11334fc90da3f395432678bd53c30fae4" + integrity sha512-9KsYGdr08QhdvT3Ht7e8phQB3gDX9Fs427NJe0xnoBh+PDPTI2BD5ks5ttsH8CzEw8/P6H8tJCHq6hf2nxd9cw== dependencies: - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" execa "^5.0.0" fast-glob "^3.3.2" fast-xml-parser "^4.2.4" logkitty "^0.7.1" -"@react-native-community/cli-platform-apple@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-13.6.8.tgz#4d46a2d6678a7b3264768f97393f082ed9afb264" - integrity sha512-1JPohnlXPqU44zns3ALEzIbH2cKRw6JtEDJERgLuEUbs2r2NeJgqDbKyZ7fTTO8o+pegDnn6+Rr7qGVVOuUzzg== +"@react-native-community/cli-platform-apple@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-13.6.9.tgz#02fb5dc47d62acd85f4d7a852e93216927a772fa" + integrity sha512-KoeIHfhxMhKXZPXmhQdl6EE+jGKWwoO9jUVWgBvibpVmsNjo7woaG/tfJMEWfWF3najX1EkQAoJWpCDBMYWtlA== dependencies: - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-tools" "13.6.9" chalk "^4.1.2" execa "^5.0.0" fast-glob "^3.3.2" fast-xml-parser "^4.0.12" ora "^5.4.1" -"@react-native-community/cli-platform-ios@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-13.6.8.tgz#2de1bd8529825781108c1cbba4f5b25cb062581c" - integrity sha512-/IIcIRM8qaoD7iZqsvtf6Qq1AwtChWYfB9sTn3mTiolZ5Zd5bXH37g+6liPfAICRkj2Ptq3iXmjrDVUQAxrOXw== +"@react-native-community/cli-platform-ios@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-13.6.9.tgz#f37ceab41c2302e8f0d4bcbd3bf58b3353db4306" + integrity sha512-CiUcHlGs8vE0CAB4oi1f+dzniqfGuhWPNrDvae2nm8dewlahTBwIcK5CawyGezjcJoeQhjBflh9vloska+nlnw== dependencies: - "@react-native-community/cli-platform-apple" "13.6.8" + "@react-native-community/cli-platform-apple" "13.6.9" -"@react-native-community/cli-server-api@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-13.6.8.tgz#fc654a2990a5f0b6f0b67ef04b25f699bee63f63" - integrity sha512-Lx664oWTzpVfbKUTy+3GIX7e+Mt5Zn+zdkM4ehllNdik/lbB3tM9Nrg8PSvOfI+tTXs2w55+nIydLfH+0FqJVg== +"@react-native-community/cli-server-api@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-13.6.9.tgz#269e666bc26e9d0b2f42c7f6099559b5f9259e9d" + integrity sha512-W8FSlCPWymO+tlQfM3E0JmM8Oei5HZsIk5S0COOl0MRi8h0NmHI4WSTF2GCfbFZkcr2VI/fRsocoN8Au4EZAug== dependencies: - "@react-native-community/cli-debugger-ui" "13.6.8" - "@react-native-community/cli-tools" "13.6.8" + "@react-native-community/cli-debugger-ui" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" compression "^1.7.1" connect "^3.6.5" errorhandler "^1.5.1" @@ -1416,10 +1416,10 @@ serve-static "^1.13.1" ws "^6.2.2" -"@react-native-community/cli-tools@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-13.6.8.tgz#65a9f49ce66f0e639d855e745c8dfa7ae7b6c142" - integrity sha512-1MYlae9EkbjC7DBYOGMH5xF9yDoeNYUKgEdDjL6WAUBoF2gtwiZPM6igLKi/+dhb5sCtC7fiLrLi0Oevdf+RmQ== +"@react-native-community/cli-tools@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-13.6.9.tgz#2baee279358ba1a863e737b2fa9f45659ad91929" + integrity sha512-OXaSjoN0mZVw3nrAwcY1PC0uMfyTd9fz7Cy06dh+EJc+h0wikABsVRzV8cIOPrVV+PPEEXE0DBrH20T2puZzgQ== dependencies: appdirsjs "^1.2.4" chalk "^4.1.2" @@ -1433,26 +1433,26 @@ shell-quote "^1.7.3" sudo-prompt "^9.0.0" -"@react-native-community/cli-types@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-13.6.8.tgz#1c357d3290a48232e3e639d48e43e31e422ce436" - integrity sha512-C4mVByy0i+/NPuPhdMLBR7ubEVkjVS1VwoQu/BoG1crJFNE+167QXAzH01eFbXndsjZaMWmD4Gerx7TYc6lHfA== +"@react-native-community/cli-types@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-13.6.9.tgz#08bfb796eacf0daeb31e2de516e81e78a36a1a55" + integrity sha512-RLxDppvRxXfs3hxceW/mShi+6o5yS+kFPnPqZTaMKKR5aSg7LwDpLQW4K2D22irEG8e6RKDkZUeH9aL3vO2O0w== dependencies: joi "^17.2.1" -"@react-native-community/cli@13.6.8": - version "13.6.8" - resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-13.6.8.tgz#d52c22620242e161bddcd2e0b6dbacd8743ca09b" - integrity sha512-0lRdgLNaXixWY4BfFRl1J6Ao9Lapo2z+++iE7TD4GAbuxOWJSyFi+KUA8XNfSDyML4jFO02MZgyBPxAWdaminQ== - dependencies: - "@react-native-community/cli-clean" "13.6.8" - "@react-native-community/cli-config" "13.6.8" - "@react-native-community/cli-debugger-ui" "13.6.8" - "@react-native-community/cli-doctor" "13.6.8" - "@react-native-community/cli-hermes" "13.6.8" - "@react-native-community/cli-server-api" "13.6.8" - "@react-native-community/cli-tools" "13.6.8" - "@react-native-community/cli-types" "13.6.8" +"@react-native-community/cli@13.6.9": + version "13.6.9" + resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-13.6.9.tgz#ba6360b94e0aba9c4001bda256cf7e57e2ecb02c" + integrity sha512-hFJL4cgLPxncJJd/epQ4dHnMg5Jy/7Q56jFvA3MHViuKpzzfTCJCB+pGY54maZbtym53UJON9WTGpM3S81UfjQ== + dependencies: + "@react-native-community/cli-clean" "13.6.9" + "@react-native-community/cli-config" "13.6.9" + "@react-native-community/cli-debugger-ui" "13.6.9" + "@react-native-community/cli-doctor" "13.6.9" + "@react-native-community/cli-hermes" "13.6.9" + "@react-native-community/cli-server-api" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" + "@react-native-community/cli-types" "13.6.9" chalk "^4.1.2" commander "^9.4.1" deepmerge "^4.3.0" @@ -1463,10 +1463,23 @@ prompts "^2.4.2" semver "^7.5.2" -"@react-native/assets-registry@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.74.84.tgz#aa472f82c1b7d8a30098c8ba22fad7b3dbb5be5f" - integrity sha512-dzUhwyaX04QosWZ8zyaaNB/WYZIdeDN1lcpfQbqiOhZJShRH+FLTDVONE/dqlMQrP+EO7lDqF0RrlIt9lnOCQQ== +"@react-native-mac/virtualized-lists@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native-mac/virtualized-lists/-/virtualized-lists-0.74.87.tgz#4186b174c104cbc061b35b7ccbeff69e7b0d6ccb" + integrity sha512-d5CH1SJeffIkz+dgBxyp0iVzZJSlBPg+8OIUHHtTT3h8RCopPPFg7FE7o8QpMOcHmJqjD7N3AF0rLr5rXc0B2w== + dependencies: + invariant "^2.2.4" + nullthrows "^1.1.1" + +"@react-native/assets-registry@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.74.87.tgz#7dda64e48db14597e19e15f679e31abbb1c1fb4d" + integrity sha512-1XmRhqQchN+pXPKEKYdpJlwESxVomJOxtEnIkbo7GAlaN2sym84fHEGDXAjLilih5GVPpcpSmFzTy8jx3LtaFg== + +"@react-native/assets-registry@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.74.88.tgz#fb812d88b173c01ae885c7795f2e11cceada4f3b" + integrity sha512-tOvA+ikxa0Yxk3gLWR4+Pp4Y6Se+JEs6XXabX4/jgxIDnDfhT/czFNhqH/hdk4uOT8uVJGnilvevsia2TCFMiw== "@react-native/babel-plugin-codegen@0.74.84": version "0.74.84" @@ -1475,6 +1488,20 @@ dependencies: "@react-native/codegen" "0.74.84" +"@react-native/babel-plugin-codegen@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.74.87.tgz#44457f4de69911f37a6ac308a7783203a757574a" + integrity sha512-+vJYpMnENFrwtgvDfUj+CtVJRJuUnzAUYT0/Pb68Sq9RfcZ5xdcCuUgyf7JO+akW2VTBoJY427wkcxU30qrWWw== + dependencies: + "@react-native/codegen" "0.74.87" + +"@react-native/babel-plugin-codegen@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.74.88.tgz#09e16493954b2dd4f582cf57e40d4f141f026432" + integrity sha512-hul4gPU09q7K0amhzhZnG3EVxeCXjP2l1x/zdgtliRRB8Nq7Za8YkM7dy84X+Vv4UC9G1nzxIbibsKeLsY1N4A== + dependencies: + "@react-native/codegen" "0.74.88" + "@react-native/babel-preset@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/babel-preset/-/babel-preset-0.74.84.tgz#703ebfc810d82c9f51f033352abd5f9fa70d492b" @@ -1524,6 +1551,104 @@ babel-plugin-transform-flow-enums "^0.0.2" react-refresh "^0.14.0" +"@react-native/babel-preset@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/babel-preset/-/babel-preset-0.74.87.tgz#3d74517d2ea8898f83b5106027033607d5bda50d" + integrity sha512-hyKpfqzN2nxZmYYJ0tQIHG99FQO0OWXp/gVggAfEUgiT+yNKas1C60LuofUsK7cd+2o9jrpqgqW4WzEDZoBlTg== + dependencies: + "@babel/core" "^7.20.0" + "@babel/plugin-proposal-async-generator-functions" "^7.0.0" + "@babel/plugin-proposal-class-properties" "^7.18.0" + "@babel/plugin-proposal-export-default-from" "^7.0.0" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.0" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.0" + "@babel/plugin-proposal-numeric-separator" "^7.0.0" + "@babel/plugin-proposal-object-rest-spread" "^7.20.0" + "@babel/plugin-proposal-optional-catch-binding" "^7.0.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-export-default-from" "^7.0.0" + "@babel/plugin-syntax-flow" "^7.18.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0" + "@babel/plugin-syntax-optional-chaining" "^7.0.0" + "@babel/plugin-transform-arrow-functions" "^7.0.0" + "@babel/plugin-transform-async-to-generator" "^7.20.0" + "@babel/plugin-transform-block-scoping" "^7.0.0" + "@babel/plugin-transform-classes" "^7.0.0" + "@babel/plugin-transform-computed-properties" "^7.0.0" + "@babel/plugin-transform-destructuring" "^7.20.0" + "@babel/plugin-transform-flow-strip-types" "^7.20.0" + "@babel/plugin-transform-function-name" "^7.0.0" + "@babel/plugin-transform-literals" "^7.0.0" + "@babel/plugin-transform-modules-commonjs" "^7.0.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.0.0" + "@babel/plugin-transform-private-methods" "^7.22.5" + "@babel/plugin-transform-private-property-in-object" "^7.22.11" + "@babel/plugin-transform-react-display-name" "^7.0.0" + "@babel/plugin-transform-react-jsx" "^7.0.0" + "@babel/plugin-transform-react-jsx-self" "^7.0.0" + "@babel/plugin-transform-react-jsx-source" "^7.0.0" + "@babel/plugin-transform-runtime" "^7.0.0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0" + "@babel/plugin-transform-spread" "^7.0.0" + "@babel/plugin-transform-sticky-regex" "^7.0.0" + "@babel/plugin-transform-typescript" "^7.5.0" + "@babel/plugin-transform-unicode-regex" "^7.0.0" + "@babel/template" "^7.0.0" + "@react-native/babel-plugin-codegen" "0.74.87" + babel-plugin-transform-flow-enums "^0.0.2" + react-refresh "^0.14.0" + +"@react-native/babel-preset@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/babel-preset/-/babel-preset-0.74.88.tgz#e7ecfe47e5a097f27c176c8e32627e722341db3c" + integrity sha512-SQODiFGlyblFTvdvePUDrQ+qlSzhcOm7It/yW2CVKxw5zRUf50+Cj3DBkRFhQDqF3ri2EnWsLnJ3oNE7hqDUxg== + dependencies: + "@babel/core" "^7.20.0" + "@babel/plugin-proposal-async-generator-functions" "^7.0.0" + "@babel/plugin-proposal-class-properties" "^7.18.0" + "@babel/plugin-proposal-export-default-from" "^7.0.0" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.0" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.0" + "@babel/plugin-proposal-numeric-separator" "^7.0.0" + "@babel/plugin-proposal-object-rest-spread" "^7.20.0" + "@babel/plugin-proposal-optional-catch-binding" "^7.0.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-export-default-from" "^7.0.0" + "@babel/plugin-syntax-flow" "^7.18.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0" + "@babel/plugin-syntax-optional-chaining" "^7.0.0" + "@babel/plugin-transform-arrow-functions" "^7.0.0" + "@babel/plugin-transform-async-to-generator" "^7.20.0" + "@babel/plugin-transform-block-scoping" "^7.0.0" + "@babel/plugin-transform-classes" "^7.0.0" + "@babel/plugin-transform-computed-properties" "^7.0.0" + "@babel/plugin-transform-destructuring" "^7.20.0" + "@babel/plugin-transform-flow-strip-types" "^7.20.0" + "@babel/plugin-transform-function-name" "^7.0.0" + "@babel/plugin-transform-literals" "^7.0.0" + "@babel/plugin-transform-modules-commonjs" "^7.0.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.0.0" + "@babel/plugin-transform-parameters" "^7.0.0" + "@babel/plugin-transform-private-methods" "^7.22.5" + "@babel/plugin-transform-private-property-in-object" "^7.22.11" + "@babel/plugin-transform-react-display-name" "^7.0.0" + "@babel/plugin-transform-react-jsx" "^7.0.0" + "@babel/plugin-transform-react-jsx-self" "^7.0.0" + "@babel/plugin-transform-react-jsx-source" "^7.0.0" + "@babel/plugin-transform-runtime" "^7.0.0" + "@babel/plugin-transform-shorthand-properties" "^7.0.0" + "@babel/plugin-transform-spread" "^7.0.0" + "@babel/plugin-transform-sticky-regex" "^7.0.0" + "@babel/plugin-transform-typescript" "^7.5.0" + "@babel/plugin-transform-unicode-regex" "^7.0.0" + "@babel/template" "^7.0.0" + "@react-native/babel-plugin-codegen" "0.74.88" + babel-plugin-transform-flow-enums "^0.0.2" + react-refresh "^0.14.0" + "@react-native/codegen@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.74.84.tgz#d3425a510b7da558ef5088d9b0aa5e0b1c05c783" @@ -1537,15 +1662,42 @@ mkdirp "^0.5.1" nullthrows "^1.1.1" -"@react-native/community-cli-plugin@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/community-cli-plugin/-/community-cli-plugin-0.74.84.tgz#223a0defe8118dc57c8ac852ddd13517ea10c4e2" - integrity sha512-GBKE+1sUh86fS2XXV46gMCNHMc1KetshMbYJ0AhDhldpaILZHqRBX50mdVsiYVvkzp4QjM0nmYqefuJ9NVwicQ== +"@react-native/codegen@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.74.87.tgz#47f07a627d0294c8270a03aee098991ed91f8ae9" + integrity sha512-GMSYDiD+86zLKgMMgz9z0k6FxmRn+z6cimYZKkucW4soGbxWsbjUAZoZ56sJwt2FJ3XVRgXCrnOCgXoH/Bkhcg== dependencies: - "@react-native-community/cli-server-api" "13.6.8" - "@react-native-community/cli-tools" "13.6.8" - "@react-native/dev-middleware" "0.74.84" - "@react-native/metro-babel-transformer" "0.74.84" + "@babel/parser" "^7.20.0" + glob "^7.1.1" + hermes-parser "0.19.1" + invariant "^2.2.4" + jscodeshift "^0.14.0" + mkdirp "^0.5.1" + nullthrows "^1.1.1" + +"@react-native/codegen@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.74.88.tgz#7f6601e4870d2e321f70ddae63e82b4110d6ce91" + integrity sha512-HMk/LCrSdUof9DZFaB2bK0soKyAF6XiCg2LG7WFjEkUDXayeiB4p7IsHISJWY4bYg7cMPZ0fiZMRaBP2vXJxgg== + dependencies: + "@babel/parser" "^7.20.0" + glob "^7.1.1" + hermes-parser "0.19.1" + invariant "^2.2.4" + jscodeshift "^0.14.0" + mkdirp "^0.5.1" + nullthrows "^1.1.1" + yargs "^17.6.2" + +"@react-native/community-cli-plugin@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/community-cli-plugin/-/community-cli-plugin-0.74.87.tgz#4d9798d51381912f3771acded9b6b2804987e952" + integrity sha512-EgJG9lSr8x3X67dHQKQvU6EkO+3ksVlJHYIVv6U/AmW9dN80BEFxgYbSJ7icXS4wri7m4kHdgeq2PQ7/3vvrTQ== + dependencies: + "@react-native-community/cli-server-api" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" + "@react-native/dev-middleware" "0.74.87" + "@react-native/metro-babel-transformer" "0.74.87" chalk "^4.0.0" execa "^5.1.1" metro "^0.80.3" @@ -1555,18 +1707,41 @@ querystring "^0.2.1" readline "^1.3.0" -"@react-native/debugger-frontend@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/debugger-frontend/-/debugger-frontend-0.74.84.tgz#0bde122a988916b6a50f05a7c3ab1c5db029b149" - integrity sha512-YUEA03UNFbiYzHpYxlcS2D9+3eNT5YLGkl5yRg3nOSN6KbCc/OttGnNZme+tuSOJwjMN/vcvtDKYkTqjJw8U0A== +"@react-native/community-cli-plugin@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/community-cli-plugin/-/community-cli-plugin-0.74.88.tgz#7bea489aa2d37201054519e6b2c9f3902b0fbf88" + integrity sha512-O8zz784kksa36nBNiULHh0rYFGr4mwtBB95YvvBOEYiYnMjFkEOUe7BPKvYmX8W29MgskXcIGNrNvfre59o4xw== + dependencies: + "@react-native-community/cli-server-api" "13.6.9" + "@react-native-community/cli-tools" "13.6.9" + "@react-native/dev-middleware" "0.74.88" + "@react-native/metro-babel-transformer" "0.74.88" + chalk "^4.0.0" + execa "^5.1.1" + metro "^0.80.3" + metro-config "^0.80.3" + metro-core "^0.80.3" + node-fetch "^2.2.0" + querystring "^0.2.1" + readline "^1.3.0" -"@react-native/dev-middleware@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/dev-middleware/-/dev-middleware-0.74.84.tgz#19ccfece791742f83f4c0a22a8c14593a45562a2" - integrity sha512-veYw/WmyrAOQHUiIeULzn2duJQnXDPiKq2jZ/lcmDo6jsLirpp+Q73lx09TYgy/oVoPRuV0nfmU3x9B6EV/7qQ== +"@react-native/debugger-frontend@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/debugger-frontend/-/debugger-frontend-0.74.87.tgz#0bb4f4f54365d04fc975349d5f635cb575f6a5d8" + integrity sha512-MN95DJLYTv4EqJc+9JajA3AJZSBYJz2QEJ3uWlHrOky2vKrbbRVaW1ityTmaZa2OXIvNc6CZwSRSE7xCoHbXhQ== + +"@react-native/debugger-frontend@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/debugger-frontend/-/debugger-frontend-0.74.88.tgz#17b4a36f768d822cdc1e05495f3073c583d26583" + integrity sha512-3xUR/uJza241ya0UFxxaxQiB/gkUx1gynMxhlgc6zFxz/zSrLG1/AcA6hpua2ZvmOMabpo09XOOR1Hqvf2qPEQ== + +"@react-native/dev-middleware@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/dev-middleware/-/dev-middleware-0.74.87.tgz#254807b579a3015ced659a14c374dbf029a9c04e" + integrity sha512-7TmZ3hTHwooYgIHqc/z87BMe1ryrIqAUi+AF7vsD+EHCGxHFdMjSpf1BZ2SUPXuLnF2cTiTfV2RwhbPzx0tYIA== dependencies: "@isaacs/ttlcache" "^1.4.1" - "@react-native/debugger-frontend" "0.74.84" + "@react-native/debugger-frontend" "0.74.87" "@rnx-kit/chromium-edge-launcher" "^1.0.0" chrome-launcher "^0.15.2" connect "^3.6.5" @@ -1579,16 +1754,50 @@ temp-dir "^2.0.0" ws "^6.2.2" -"@react-native/gradle-plugin@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/gradle-plugin/-/gradle-plugin-0.74.84.tgz#6ff25fad5f78c276afde96ffc42e04e92d6d92b1" - integrity sha512-wYWC5WWXqzCCe4PDogz9pNc4xH5ZamahW5XGSbrrYJ5V3walZ+7z43V6iEBJkZbLjj9YBcSttkXYGr1Xh4veAg== +"@react-native/dev-middleware@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/dev-middleware/-/dev-middleware-0.74.88.tgz#2089ced6f6e50af0c9bb3bdc4fb17fe5ee824e19" + integrity sha512-RYaQ72j9ggeGI712UlAfWtuY0rD4WllArlYtEybT0x1zmUtLgq5lgJcSkwg501yfG/g10XB69Q2MM8gCWK8NAw== + dependencies: + "@isaacs/ttlcache" "^1.4.1" + "@react-native/debugger-frontend" "0.74.88" + "@rnx-kit/chromium-edge-launcher" "^1.0.0" + chrome-launcher "^0.15.2" + connect "^3.6.5" + debug "^2.2.0" + node-fetch "^2.2.0" + nullthrows "^1.1.1" + open "^7.0.3" + selfsigned "^2.4.1" + serve-static "^1.13.1" + temp-dir "^2.0.0" + ws "^6.2.2" + +"@react-native/gradle-plugin@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/gradle-plugin/-/gradle-plugin-0.74.87.tgz#a66c01fda7a938a116dc27447f0ccce285796b2a" + integrity sha512-T+VX0N1qP+U9V4oAtn7FTX7pfsoVkd1ocyw9swYXgJqU2fK7hC9famW7b3s3ZiufPGPr1VPJe2TVGtSopBjL6A== + +"@react-native/gradle-plugin@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/gradle-plugin/-/gradle-plugin-0.74.88.tgz#e433f8e2a7777eaa942fb11fc53f80dbe9e0bc63" + integrity sha512-cUu4gVLFTkHe0e5/IxSycRfbBhZs/5QF8AqYcoUBsZ5o+22Im9+M4DuGFv4U5Sa2NTy2VXOCpbBTepzKsdXlgw== "@react-native/js-polyfills@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/js-polyfills/-/js-polyfills-0.74.84.tgz#edf0e8463616a2683269bbfe3957590f7ebd910c" integrity sha512-+PgxuUjBw9JVlz6m4ECsIJMLbDopnr4rpLmsG32hQaJrg0wMuvHtsgAY/J/aVCSG2GNUXexfjrnhc+O9yGOZXQ== +"@react-native/js-polyfills@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/js-polyfills/-/js-polyfills-0.74.87.tgz#d28090a4dae417a2e9ad14e065fcf8cf52cc482c" + integrity sha512-M5Evdn76CuVEF0GsaXiGi95CBZ4IWubHqwXxV9vG9CC9kq0PSkoM2Pn7Lx7dgyp4vT7ccJ8a3IwHbe+5KJRnpw== + +"@react-native/js-polyfills@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/js-polyfills/-/js-polyfills-0.74.88.tgz#84409c6868d06dd17a76cc0ab7cfa0e58bcd11ad" + integrity sha512-6KljxfNKAz2b2uXqxagKbytb3MvUujAmfvuubKOoCLAiLbs8CYKW0OV1FqVLYUEXXw5GEDhXcVzQxxFuDlMafQ== + "@react-native/metro-babel-transformer@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.74.84.tgz#6c2c1632bdf557f176c9d489fbb676522ffb222a" @@ -1599,6 +1808,26 @@ hermes-parser "0.19.1" nullthrows "^1.1.1" +"@react-native/metro-babel-transformer@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.74.87.tgz#f60958f5e7eb39008a2c01dc5248ab60240bdc01" + integrity sha512-UsJCO24sNax2NSPBmV1zLEVVNkS88kcgAiYrZHtYSwSjpl4WZ656tIeedBfiySdJ94Hr3kQmBYLipV5zk0NI1A== + dependencies: + "@babel/core" "^7.20.0" + "@react-native/babel-preset" "0.74.87" + hermes-parser "0.19.1" + nullthrows "^1.1.1" + +"@react-native/metro-babel-transformer@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.74.88.tgz#778c639cf3f17a3dc31acbfe31d0ec77ed59004a" + integrity sha512-r7Er162iLpQce3ODQzNVS+PnjglJoHZ4l0NeaVMB4w45DIgKM4hC2vI6a/fzyFm9C6N+QY4P2i2RSkwjXVuBlQ== + dependencies: + "@babel/core" "^7.20.0" + "@react-native/babel-preset" "0.74.88" + hermes-parser "0.19.1" + nullthrows "^1.1.1" + "@react-native/metro-config@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/metro-config/-/metro-config-0.74.84.tgz#b2c1b45f62af9b8140a9a02798fa4fb2a3db7c0c" @@ -1609,20 +1838,25 @@ metro-config "^0.80.3" metro-runtime "^0.80.3" -"@react-native/normalize-colors@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.74.84.tgz#4764d59775c17a6ed193509cb01ae2f42dd5c045" - integrity sha512-Y5W6x8cC5RuakUcTVUFNAIhUZ/tYpuqHZlRBoAuakrTwVuoNHXfQki8lj1KsYU7rW6e3VWgdEx33AfOQpdNp6A== +"@react-native/normalize-colors@0.74.87": + version "0.74.87" + resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.74.87.tgz#a814169d0ce4ce13ffebcda0a3a5a3f780ccd772" + integrity sha512-Xh7Nyk/MPefkb0Itl5Z+3oOobeG9lfLb7ZOY2DKpFnoCE1TzBmib9vMNdFaLdSxLIP+Ec6icgKtdzYg8QUPYzA== + +"@react-native/normalize-colors@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.74.88.tgz#46f4c7270c8e6853281d7dd966e0eb362068e41a" + integrity sha512-He5oTwPBxvXrxJ91dZzpxR7P+VYmc9IkJfhuH8zUiU50ckrt+xWNjtVugPdUv4LuVjmZ36Vk2EX8bl1gVn2dVA== "@react-native/typescript-config@0.74.84": version "0.74.84" resolved "https://registry.yarnpkg.com/@react-native/typescript-config/-/typescript-config-0.74.84.tgz#aff6132ced5679c99b33b4e3a6747338b99e5e09" integrity sha512-yMAyxl0wzRKT6JkQV0WCryiBQ1hj97u/JiT4LjXbwpPSErgiTRq+SKwhKH5vhSw9P0O8JCLIG6rS5rkbjranDg== -"@react-native/virtualized-lists@0.74.84": - version "0.74.84" - resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.74.84.tgz#cf32fffc93072942532c9c81bd7e4c01a2949626" - integrity sha512-XcV+qdqt2WihaY4iRm/M1FdSy+18lecU9mRXNmy9YK8g9Th/8XbNtmmKI0qWBx3KxyuXMH/zd0ps05YTrX16kw== +"@react-native/virtualized-lists@0.74.88": + version "0.74.88" + resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.74.88.tgz#59df4e9ce3d82b4efc3374eb4d85dd91d243bf62" + integrity sha512-nZn4X9zuyinRJoE/WcgB1e/X6b3J3QPRSsNC0LOjHzP97tvW6xvBacjbCAJAaZQwD9KaqZyK86eCi61ksr350g== dependencies: invariant "^2.2.4" nullthrows "^1.1.1" @@ -1699,6 +1933,37 @@ mkdirp "^1.0.4" rimraf "^3.0.2" +"@rnx-kit/metro-config@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@rnx-kit/metro-config/-/metro-config-2.0.1.tgz#46279da63ad969286d9cf078a18e744f687477d8" + integrity sha512-BkhniefN5U5lQtlwu97rz+32reUyBCC22zBrCazV/3BvfOZ3b94z2oljUPtYIosoVKm4o6e2bGNlNklG1GWNbQ== + dependencies: + "@rnx-kit/tools-node" "^3.0.0" + "@rnx-kit/tools-react-native" "^2.0.0" + "@rnx-kit/tools-workspaces" "^0.2.0" + +"@rnx-kit/tools-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@rnx-kit/tools-node/-/tools-node-3.0.0.tgz#561b3ba798766e532319d72ffca44349acf5e680" + integrity sha512-9FmST15/KucIw8Yy5vHHr5JypTlYU+hNWDOhBMRLA3a88zc4MsRtdqfqbA/Nd9fM2Gyfkg8m2zgYJZQE6MDNaQ== + +"@rnx-kit/tools-react-native@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@rnx-kit/tools-react-native/-/tools-react-native-2.0.0.tgz#07a7f32043d11b24e1b75bdda648bd1195222758" + integrity sha512-VTrjfDgcxfJily9FpSU+CnRLISzmz3WXMP37300YmYY1hHtxpJgElWx5/ChD2k+igXSXCdnuUKWYlsuu3065sQ== + dependencies: + "@rnx-kit/tools-node" "^3.0.0" + +"@rnx-kit/tools-workspaces@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@rnx-kit/tools-workspaces/-/tools-workspaces-0.2.0.tgz#03f6a0eacfba20b549375a8d7895a132efe28de7" + integrity sha512-EjyFBASHOgXGATBjv0IHdqkiGf23s31dr/TjqUagmMHT4fGxxTUgI6rkC11cGYaL0u6QczsbhSi390B4k6cByg== + dependencies: + fast-glob "^3.2.7" + find-up "^5.0.0" + read-yaml-file "^2.1.0" + strip-json-comments "^3.1.1" + "@sideway/address@^4.1.5": version "4.1.5" resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" @@ -1900,6 +2165,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + asap@~2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2451,7 +2721,7 @@ fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.3.2: +fast-glob@^3.2.7, fast-glob@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -2946,6 +3216,13 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + jsc-android@^250231.0.0: version "250231.0.0" resolved "https://registry.yarnpkg.com/jsc-android/-/jsc-android-250231.0.0.tgz#91720f8df382a108872fa4b3f558f33ba5e95262" @@ -3766,6 +4043,50 @@ react-native-gesture-handler@^2.17.1: invariant "^2.2.4" prop-types "^15.7.2" +react-native-macos@~0.74.15: + version "0.74.15" + resolved "https://registry.yarnpkg.com/react-native-macos/-/react-native-macos-0.74.15.tgz#b9bdab08e73ef1aab51faa8203a5d843df21df59" + integrity sha512-+j3BUVYKIxu6KpmDfXo3uW+UYsPsRzu3vvL4m7o5NzHEBXka5RvfvlZa+u4dfUYRqSk7g0FKWnBmkflJ3HIDsA== + dependencies: + "@jest/create-cache-key-function" "^29.6.3" + "@react-native-community/cli" "13.6.9" + "@react-native-community/cli-platform-android" "13.6.9" + "@react-native-community/cli-platform-apple" "13.6.9" + "@react-native-community/cli-platform-ios" "13.6.9" + "@react-native-mac/virtualized-lists" "0.74.87" + "@react-native/assets-registry" "0.74.87" + "@react-native/codegen" "0.74.87" + "@react-native/community-cli-plugin" "0.74.87" + "@react-native/gradle-plugin" "0.74.87" + "@react-native/js-polyfills" "0.74.87" + "@react-native/normalize-colors" "0.74.87" + abort-controller "^3.0.0" + anser "^1.4.9" + ansi-regex "^5.0.0" + base64-js "^1.5.1" + chalk "^4.0.0" + event-target-shim "^5.0.1" + flow-enums-runtime "^0.0.6" + invariant "^2.2.4" + jest-environment-node "^29.6.3" + jsc-android "^250231.0.0" + memoize-one "^5.0.0" + metro-runtime "^0.80.3" + metro-source-map "^0.80.3" + mkdirp "^0.5.1" + nullthrows "^1.1.1" + pretty-format "^26.5.2" + promise "^8.3.0" + react-devtools-core "^5.0.0" + react-refresh "^0.14.0" + react-shallow-renderer "^16.15.0" + regenerator-runtime "^0.13.2" + scheduler "0.24.0-canary-efb381bbf-20230505" + stacktrace-parser "^0.1.10" + whatwg-fetch "^3.0.0" + ws "^6.2.2" + yargs "^17.6.2" + "react-native-safe-area-context@link:..": version "0.0.0" uid "" @@ -3778,22 +4099,22 @@ react-native-screens@^3.32.0: react-freeze "^1.0.0" warn-once "^0.1.0" -react-native@^0.74.2: - version "0.74.2" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.74.2.tgz#172e64e4e79861e2b3da99b86999e4a4c55b8321" - integrity sha512-EBMBjPPL4/GjHMP4NqsZabT3gI5WU9cSmduABGAGrd8uIcmTZ5F2Ng9k6gFmRm7n8e8CULxDNu98ZpQfBjl7Bw== +react-native@~0.74.6: + version "0.74.6" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.74.6.tgz#5337faa77dd7c65a864e1218f282a39a8e85b607" + integrity sha512-TZ8uLf+dH+nO5nFwjhMd4PqtraeNT5cXQ0ySAhq7qqbTBgalxO3UklsLFW3cTSedC+eLw6J3P3H62e3/MjpWNw== dependencies: "@jest/create-cache-key-function" "^29.6.3" - "@react-native-community/cli" "13.6.8" - "@react-native-community/cli-platform-android" "13.6.8" - "@react-native-community/cli-platform-ios" "13.6.8" - "@react-native/assets-registry" "0.74.84" - "@react-native/codegen" "0.74.84" - "@react-native/community-cli-plugin" "0.74.84" - "@react-native/gradle-plugin" "0.74.84" - "@react-native/js-polyfills" "0.74.84" - "@react-native/normalize-colors" "0.74.84" - "@react-native/virtualized-lists" "0.74.84" + "@react-native-community/cli" "13.6.9" + "@react-native-community/cli-platform-android" "13.6.9" + "@react-native-community/cli-platform-ios" "13.6.9" + "@react-native/assets-registry" "0.74.88" + "@react-native/codegen" "0.74.88" + "@react-native/community-cli-plugin" "0.74.88" + "@react-native/gradle-plugin" "0.74.88" + "@react-native/js-polyfills" "0.74.88" + "@react-native/normalize-colors" "0.74.88" + "@react-native/virtualized-lists" "0.74.88" abort-controller "^3.0.0" anser "^1.4.9" ansi-regex "^5.0.0" @@ -3801,6 +4122,7 @@ react-native@^0.74.2: chalk "^4.0.0" event-target-shim "^5.0.1" flow-enums-runtime "^0.0.6" + glob "^7.1.1" invariant "^2.2.4" jest-environment-node "^29.6.3" jsc-android "^250231.0.0" @@ -3841,6 +4163,14 @@ react@^18.3.1: dependencies: loose-envify "^1.1.0" +read-yaml-file@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-2.1.0.tgz#c5866712db9ef5343b4d02c2413bada53c41c4a9" + integrity sha512-UkRNRIwnhG+y7hpqnycCL/xbTk7+ia9VuVTC0S+zVbwd65DI9eUpRMfsWIGrCWxTU/mi+JW8cHQCrv+zfCbEPQ== + dependencies: + js-yaml "^4.0.0" + strip-bom "^4.0.0" + readable-stream@^3.4.0: version "3.6.2" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" @@ -4227,11 +4557,21 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + strnum@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.0.5.tgz#5c4e829fe15ad4ff0d20c3db5ac97b73c9b072db" diff --git a/ios/RNCSafeAreaContext.mm b/ios/RNCSafeAreaContext.mm index 3d5814ec..08fe2676 100644 --- a/ios/RNCSafeAreaContext.mm +++ b/ios/RNCSafeAreaContext.mm @@ -1,7 +1,11 @@ #import "RNCSafeAreaContext.h" #import +#if TARGET_OS_IPHONE #import +#elif TARGET_OS_OSX +#import +#endif #ifdef RCT_NEW_ARCH_ENABLED #import #endif @@ -32,13 +36,22 @@ - (NSDictionary *)getConstants __block NSDictionary *constants; RCTUnsafeExecuteOnMainQueueSync(^{ +#if TARGET_OS_IPHONE UIWindow *window = RCTKeyWindow(); +#elif TARGET_OS_OSX + NSWindow *window = RCTKeyWindow(); +#endif if (window == nil) { constants = @{@"initialWindowMetrics" : [NSNull null]}; return; } +#if TARGET_OS_IPHONE UIEdgeInsets safeAreaInsets = window.safeAreaInsets; +#elif TARGET_OS_OSX + NSEdgeInsets safeAreaInsets = NSEdgeInsetsZero; +#endif + constants = @{ @"initialWindowMetrics" : @{ @"insets" : @{ diff --git a/ios/RNCSafeAreaProvider.h b/ios/RNCSafeAreaProvider.h index f31adb78..317efbeb 100644 --- a/ios/RNCSafeAreaProvider.h +++ b/ios/RNCSafeAreaProvider.h @@ -1,4 +1,8 @@ +#if TARGET_OS_IPHONE #import +#elif TARGET_OS_OSX +#import +#endif #import diff --git a/ios/RNCSafeAreaProvider.m b/ios/RNCSafeAreaProvider.m index 6652d7d3..0e82f904 100644 --- a/ios/RNCSafeAreaProvider.m +++ b/ios/RNCSafeAreaProvider.m @@ -13,7 +13,7 @@ @implementation RNCSafeAreaProvider { - (instancetype)init { if ((self = [super init])) { -#if !TARGET_OS_TV +#if !TARGET_OS_TV && !TARGET_OS_OSX [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(invalidateSafeAreaInsets) name:UIKeyboardDidShowNotification @@ -48,11 +48,24 @@ - (void)invalidateSafeAreaInsets return; } +#if TARGET_OS_IPHONE UIEdgeInsets safeAreaInsets = self.safeAreaInsets; +#elif TARGET_OS_OSX + NSEdgeInsets safeAreaInsets; + if (@available(macOS 11.0, *)) { + safeAreaInsets = self.safeAreaInsets; + } else { + safeAreaInsets = NSEdgeInsetsZero; + } +#endif CGRect frame = [self convertRect:self.bounds toView:RNCParentViewController(self).view]; if (_initialInsetsSent && +#if TARGET_OS_IPHONE UIEdgeInsetsEqualToEdgeInsetsWithThreshold(safeAreaInsets, _currentSafeAreaInsets, 1.0 / RCTScreenScale()) && +#elif TARGET_OS_OSX + NSEdgeInsetsEqualToEdgeInsetsWithThreshold(safeAreaInsets, _currentSafeAreaInsets, 1.0 / RCTScreenScale()) && +#endif CGRectEqualToRect(frame, _currentFrame)) { return; } diff --git a/ios/RNCSafeAreaProviderManager.m b/ios/RNCSafeAreaProviderManager.m index e6f8670f..569ecb49 100644 --- a/ios/RNCSafeAreaProviderManager.m +++ b/ios/RNCSafeAreaProviderManager.m @@ -8,7 +8,11 @@ @implementation RNCSafeAreaProviderManager RCT_EXPORT_VIEW_PROPERTY(onInsetsChange, RCTDirectEventBlock) +#if TARGET_OS_IPHONE - (UIView *)view +#elif TARGET_OS_OSX +- (NSView *)view +#endif { return [RNCSafeAreaProvider new]; } diff --git a/ios/RNCSafeAreaUtils.h b/ios/RNCSafeAreaUtils.h index f28e5e43..739e35eb 100644 --- a/ios/RNCSafeAreaUtils.h +++ b/ios/RNCSafeAreaUtils.h @@ -1,10 +1,22 @@ #import #import +#if TARGET_OS_IPHONE #import +#elif TARGET_OS_OSX +#import +#endif extern NSString *const RNCSafeAreaDidChange; RCT_EXTERN BOOL +#if TARGET_OS_IPHONE UIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInsets insets2, CGFloat threshold); +#elif TARGET_OS_OSX +NSEdgeInsetsEqualToEdgeInsetsWithThreshold(NSEdgeInsets insets1, NSEdgeInsets insets2, CGFloat threshold); +#endif +#if TARGET_OS_IPHONE RCT_EXTERN UIViewController *RNCParentViewController(UIView *view); +#elif TARGET_OS_OSX +RCT_EXTERN NSViewController *RNCParentViewController(NSView *view); +#endif diff --git a/ios/RNCSafeAreaUtils.m b/ios/RNCSafeAreaUtils.m index 357cd1f5..c71d0911 100644 --- a/ios/RNCSafeAreaUtils.m +++ b/ios/RNCSafeAreaUtils.m @@ -4,12 +4,17 @@ NSString *const RNCSafeAreaDidChange = @"RNCSafeAreaDidChange"; +#if TARGET_OS_IPHONE BOOL UIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInsets insets2, CGFloat threshold) +#elif TARGET_OS_OSX +BOOL NSEdgeInsetsEqualToEdgeInsetsWithThreshold(NSEdgeInsets insets1, NSEdgeInsets insets2, CGFloat threshold) +#endif { return ABS(insets1.left - insets2.left) <= threshold && ABS(insets1.right - insets2.right) <= threshold && ABS(insets1.top - insets2.top) <= threshold && ABS(insets1.bottom - insets2.bottom) <= threshold; } +#if TARGET_OS_IPHONE UIViewController *RNCParentViewController(UIView *view) { UIResponder *responder = view.nextResponder; @@ -21,3 +26,16 @@ BOOL UIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInse } return nil; } +#elif TARGET_OS_OSX +NSViewController *RNCParentViewController(NSView *view) +{ + NSResponder *responder = view.nextResponder; + while (responder != nil) { + if ([responder isKindOfClass:[NSViewController class]]) { + return (NSViewController *)responder; + } + responder = responder.nextResponder; + } + return nil; +} +#endif diff --git a/ios/RNCSafeAreaView.h b/ios/RNCSafeAreaView.h index f4013d18..96f17820 100644 --- a/ios/RNCSafeAreaView.h +++ b/ios/RNCSafeAreaView.h @@ -1,6 +1,10 @@ #import #import +#if TARGET_OS_IPHONE #import +#elif TARGET_OS_OSX +#import +#endif #import "RNCSafeAreaViewEdges.h" #import "RNCSafeAreaViewMode.h" diff --git a/ios/RNCSafeAreaView.m b/ios/RNCSafeAreaView.m index 834d8167..9c0ea1ff 100644 --- a/ios/RNCSafeAreaView.m +++ b/ios/RNCSafeAreaView.m @@ -11,7 +11,11 @@ @implementation RNCSafeAreaView { __weak RCTBridge *_bridge; +#if TARGET_OS_IPHONE UIEdgeInsets _currentSafeAreaInsets; +#elif TARGET_OS_OSX + NSEdgeInsets _currentSafeAreaInsets; +#endif RNCSafeAreaViewMode _mode; RNCSafeAreaViewEdges _edges; __weak RNCSafeAreaProvider *_Nullable _providerView; @@ -42,15 +46,42 @@ - (NSString *)description superDescription = [superDescription substringToIndex:superDescription.length - 1]; } +#if TARGET_OS_IPHONE + NSString *providerViewSafeAreaInsetsString = NSStringFromUIEdgeInsets(_providerView.safeAreaInsets); + NSString *currentSafeAreaInsetsString = NSStringFromUIEdgeInsets(_currentSafeAreaInsets); +#elif TARGET_OS_OSX + NSString *providerViewSafeAreaInsetsString; + NSString *currentSafeAreaInsetsString; + if (@available(macOS 11.0, *)) { + providerViewSafeAreaInsetsString = [NSString stringWithFormat:@"{%f,%f,%f,%f}", + _providerView.safeAreaInsets.top, + _providerView.safeAreaInsets.left, + _providerView.safeAreaInsets.bottom, + _providerView.safeAreaInsets.right]; + currentSafeAreaInsetsString = [NSString stringWithFormat:@"{%f,%f,%f,%f}", + _currentSafeAreaInsets.top, + _currentSafeAreaInsets.left, + _currentSafeAreaInsets.bottom, + _currentSafeAreaInsets.right]; + } else { + providerViewSafeAreaInsetsString = @"{0.0,0.0,0.0,0.0}"; + currentSafeAreaInsetsString = @"{0.0,0.0,0.0,0.0}"; + } +#endif + return [NSString stringWithFormat:@"%@; RNCSafeAreaInsets = %@; appliedRNCSafeAreaInsets = %@>", superDescription, - NSStringFromUIEdgeInsets(_providerView.safeAreaInsets), - NSStringFromUIEdgeInsets(_currentSafeAreaInsets)]; + providerViewSafeAreaInsetsString, + currentSafeAreaInsetsString]; } - (void)didMoveToWindow { +#if TARGET_OS_IPHONE UIView *previousProviderView = _providerView; +#elif TARGET_OS_OSX + NSView *previousProviderView = _providerView; +#endif _providerView = [self findNearestProvider]; [self invalidateSafeAreaInsets]; @@ -79,11 +110,17 @@ - (void)invalidateSafeAreaInsets if (_providerView == nil) { return; } +#if TARGET_OS_IPHONE UIEdgeInsets safeAreaInsets = _providerView.safeAreaInsets; - if (UIEdgeInsetsEqualToEdgeInsetsWithThreshold(safeAreaInsets, _currentSafeAreaInsets, 1.0 / RCTScreenScale())) { return; } +#elif TARGET_OS_OSX + NSEdgeInsets safeAreaInsets = _providerView.safeAreaInsets; + if (NSEdgeInsetsEqualToEdgeInsetsWithThreshold(safeAreaInsets, _currentSafeAreaInsets, 1.0 / RCTScreenScale())) { + return; + } +#endif _currentSafeAreaInsets = safeAreaInsets; [self updateLocalData]; @@ -91,7 +128,11 @@ - (void)invalidateSafeAreaInsets - (nullable RNCSafeAreaProvider *)findNearestProvider { +#if TARGET_OS_IPHONE UIView *current = self.reactSuperview; +#elif TARGET_OS_OSX + NSView *current = self.reactSuperview; +#endif while (current != nil) { if ([current isKindOfClass:RNCSafeAreaProvider.class]) { return (RNCSafeAreaProvider *)current; diff --git a/ios/RNCSafeAreaViewLocalData.h b/ios/RNCSafeAreaViewLocalData.h index 53ba468f..1c579a23 100644 --- a/ios/RNCSafeAreaViewLocalData.h +++ b/ios/RNCSafeAreaViewLocalData.h @@ -1,4 +1,8 @@ +#if TARGET_OS_IPHONE #import +#elif TARGET_OS_OSX +#import +#endif #import "RNCSafeAreaViewEdges.h" #import "RNCSafeAreaViewMode.h" @@ -7,9 +11,16 @@ NS_ASSUME_NONNULL_BEGIN @interface RNCSafeAreaViewLocalData : NSObject +#if TARGET_OS_IPHONE - (instancetype)initWithInsets:(UIEdgeInsets)insets mode:(RNCSafeAreaViewMode)mode edges:(RNCSafeAreaViewEdges)edges; @property (atomic, readonly) UIEdgeInsets insets; +#elif TARGET_OS_OSX +- (instancetype)initWithInsets:(NSEdgeInsets)insets mode:(RNCSafeAreaViewMode)mode edges:(RNCSafeAreaViewEdges)edges; + +@property (atomic, readonly) NSEdgeInsets insets; +#endif + @property (atomic, readonly) RNCSafeAreaViewMode mode; @property (atomic, readonly) RNCSafeAreaViewEdges edges; diff --git a/ios/RNCSafeAreaViewLocalData.m b/ios/RNCSafeAreaViewLocalData.m index a486ed2f..b656f5a0 100644 --- a/ios/RNCSafeAreaViewLocalData.m +++ b/ios/RNCSafeAreaViewLocalData.m @@ -2,7 +2,11 @@ @implementation RNCSafeAreaViewLocalData +#if TARGET_OS_IPHONE - (instancetype)initWithInsets:(UIEdgeInsets)insets mode:(RNCSafeAreaViewMode)mode edges:(RNCSafeAreaViewEdges)edges +#elif TARGET_OS_OSX +- (instancetype)initWithInsets:(NSEdgeInsets)insets mode:(RNCSafeAreaViewMode)mode edges:(RNCSafeAreaViewEdges)edges +#endif { if (self = [super init]) { _insets = insets; diff --git a/ios/RNCSafeAreaViewManager.m b/ios/RNCSafeAreaViewManager.m index 02f1b0d7..703b4ddb 100644 --- a/ios/RNCSafeAreaViewManager.m +++ b/ios/RNCSafeAreaViewManager.m @@ -9,7 +9,11 @@ @implementation RNCSafeAreaViewManager RCT_EXPORT_MODULE(RNCSafeAreaView) +#if TARGET_OS_IPHONE - (UIView *)view +#elif TARGET_OS_OSX +- (NSView *)view +#endif { return [[RNCSafeAreaView alloc] initWithBridge:self.bridge]; } diff --git a/react-native-safe-area-context.podspec b/react-native-safe-area-context.podspec index c8c74a1d..32d209f4 100644 --- a/react-native-safe-area-context.podspec +++ b/react-native-safe-area-context.podspec @@ -12,7 +12,9 @@ Pod::Spec.new do |s| s.authors = package['author'] s.homepage = package['homepage'] - s.platforms = { :ios => "12.4", :tvos => "12.4", :visionos => "1.0" } + s.ios.deployment_target = "12.4" + s.osx.deployment_target = "10.15" + s.visionos.deployment_target = "1.0" s.source = { :git => "https://github.com/th3rdwave/react-native-safe-area-context.git", :tag => "v#{s.version}" } s.source_files = "ios/**/*.{h,m,mm}" diff --git a/src/NativeSafeAreaProvider.macos.tsx b/src/NativeSafeAreaProvider.macos.tsx deleted file mode 100644 index 969c3eae..00000000 --- a/src/NativeSafeAreaProvider.macos.tsx +++ /dev/null @@ -1 +0,0 @@ -export { CompatNativeSafeAreaProvider as NativeSafeAreaProvider } from './CompatNativeSafeAreaProvider'; diff --git a/src/SafeAreaView.macos.tsx b/src/SafeAreaView.macos.tsx deleted file mode 100644 index 45afbe08..00000000 --- a/src/SafeAreaView.macos.tsx +++ /dev/null @@ -1,4 +0,0 @@ -import { View } from 'react-native'; -import type { NativeSafeAreaViewInstance } from './SafeArea.types'; - -export const SafeAreaView = View as unknown as NativeSafeAreaViewInstance;