diff --git a/Gemfile b/Gemfile index 7922c9a..b4032aa 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,5 @@ source 'https://rubygems.org' # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version ruby '>= 2.6.10' -gem 'cocoapods', '>= 1.11.2' +gem 'cocoapods', '~> 1.13' +gem 'activesupport', '>= 6.1.7.3', '< 7.1.0' diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 61a4195..1654cc7 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,14 +1,14 @@ PODS: - boost (1.76.0) - DoubleConversion (1.1.6) - - FBLazyVector (0.72.4) - - FBReactNativeSpec (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - RCTRequired (= 0.72.4) - - RCTTypeSafety (= 0.72.4) - - React-Core (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) + - FBLazyVector (0.72.14) + - FBReactNativeSpec (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - RCTRequired (= 0.72.14) + - RCTTypeSafety (= 0.72.14) + - React-Core (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) - fmt (6.2.1) - glog (0.3.5) - libwebp (1.3.2): @@ -37,29 +37,29 @@ PODS: - DoubleConversion - fmt (~> 6.2.1) - glog - - RCTRequired (0.72.4) - - RCTTypeSafety (0.72.4): - - FBLazyVector (= 0.72.4) - - RCTRequired (= 0.72.4) - - React-Core (= 0.72.4) + - RCTRequired (0.72.14) + - RCTTypeSafety (0.72.14): + - FBLazyVector (= 0.72.14) + - RCTRequired (= 0.72.14) + - React-Core (= 0.72.14) - RCTYouTube (2.0.2): - React - YoutubePlayer-in-WKWebView (~> 0.3.1) - - React (0.72.4): - - React-Core (= 0.72.4) - - React-Core/DevSupport (= 0.72.4) - - React-Core/RCTWebSocket (= 0.72.4) - - React-RCTActionSheet (= 0.72.4) - - React-RCTAnimation (= 0.72.4) - - React-RCTBlob (= 0.72.4) - - React-RCTImage (= 0.72.4) - - React-RCTLinking (= 0.72.4) - - React-RCTNetwork (= 0.72.4) - - React-RCTSettings (= 0.72.4) - - React-RCTText (= 0.72.4) - - React-RCTVibration (= 0.72.4) - - React-callinvoker (0.72.4) - - React-Codegen (0.72.4): + - React (0.72.14): + - React-Core (= 0.72.14) + - React-Core/DevSupport (= 0.72.14) + - React-Core/RCTWebSocket (= 0.72.14) + - React-RCTActionSheet (= 0.72.14) + - React-RCTAnimation (= 0.72.14) + - React-RCTBlob (= 0.72.14) + - React-RCTImage (= 0.72.14) + - React-RCTLinking (= 0.72.14) + - React-RCTNetwork (= 0.72.14) + - React-RCTSettings (= 0.72.14) + - React-RCTText (= 0.72.14) + - React-RCTVibration (= 0.72.14) + - React-callinvoker (0.72.14) + - React-Codegen (0.72.14): - DoubleConversion - FBReactNativeSpec - glog @@ -74,10 +74,10 @@ PODS: - React-rncore - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-Core (0.72.4): + - React-Core (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.4) + - React-Core/Default (= 0.72.14) - React-cxxreact - React-jsc - React-jsi @@ -87,7 +87,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/CoreModulesHeaders (0.72.4): + - React-Core/CoreModulesHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -100,7 +100,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/Default (0.72.4): + - React-Core/Default (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-cxxreact @@ -112,22 +112,22 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/DevSupport (0.72.4): + - React-Core/DevSupport (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.4) - - React-Core/RCTWebSocket (= 0.72.4) + - React-Core/Default (= 0.72.14) + - React-Core/RCTWebSocket (= 0.72.14) - React-cxxreact - React-jsc - React-jsi - React-jsiexecutor - - React-jsinspector (= 0.72.4) + - React-jsinspector (= 0.72.14) - React-perflogger - React-runtimeexecutor - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTActionSheetHeaders (0.72.4): + - React-Core/RCTActionSheetHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -140,7 +140,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTAnimationHeaders (0.72.4): + - React-Core/RCTAnimationHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -153,7 +153,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTBlobHeaders (0.72.4): + - React-Core/RCTBlobHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -166,7 +166,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTImageHeaders (0.72.4): + - React-Core/RCTImageHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -179,7 +179,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTLinkingHeaders (0.72.4): + - React-Core/RCTLinkingHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -192,7 +192,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTNetworkHeaders (0.72.4): + - React-Core/RCTNetworkHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -205,7 +205,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTSettingsHeaders (0.72.4): + - React-Core/RCTSettingsHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -218,7 +218,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTTextHeaders (0.72.4): + - React-Core/RCTTextHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -231,7 +231,7 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTVibrationHeaders (0.72.4): + - React-Core/RCTVibrationHeaders (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-Core/Default @@ -244,10 +244,10 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-Core/RCTWebSocket (0.72.4): + - React-Core/RCTWebSocket (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - - React-Core/Default (= 0.72.4) + - React-Core/Default (= 0.72.14) - React-cxxreact - React-jsc - React-jsi @@ -257,48 +257,48 @@ PODS: - React-utils - SocketRocket (= 0.6.1) - Yoga - - React-CoreModules (0.72.4): + - React-CoreModules (0.72.14): - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.4) - - React-Codegen (= 0.72.4) - - React-Core/CoreModulesHeaders (= 0.72.4) - - React-jsi (= 0.72.4) + - RCTTypeSafety (= 0.72.14) + - React-Codegen (= 0.72.14) + - React-Core/CoreModulesHeaders (= 0.72.14) + - React-jsi (= 0.72.14) - React-RCTBlob - - React-RCTImage (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) + - React-RCTImage (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) - SocketRocket (= 0.6.1) - - React-cxxreact (0.72.4): + - React-cxxreact (0.72.14): - boost (= 1.76.0) - DoubleConversion - glog - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.4) - - React-debug (= 0.72.4) - - React-jsi (= 0.72.4) - - React-jsinspector (= 0.72.4) - - React-logger (= 0.72.4) - - React-perflogger (= 0.72.4) - - React-runtimeexecutor (= 0.72.4) - - React-debug (0.72.4) - - React-jsc (0.72.4): - - React-jsc/Fabric (= 0.72.4) - - React-jsi (= 0.72.4) - - React-jsc/Fabric (0.72.4): - - React-jsi (= 0.72.4) - - React-jsi (0.72.4): + - React-callinvoker (= 0.72.14) + - React-debug (= 0.72.14) + - React-jsi (= 0.72.14) + - React-jsinspector (= 0.72.14) + - React-logger (= 0.72.14) + - React-perflogger (= 0.72.14) + - React-runtimeexecutor (= 0.72.14) + - React-debug (0.72.14) + - React-jsc (0.72.14): + - React-jsc/Fabric (= 0.72.14) + - React-jsi (= 0.72.14) + - React-jsc/Fabric (0.72.14): + - React-jsi (= 0.72.14) + - React-jsi (0.72.14): - boost (= 1.76.0) - DoubleConversion - glog - RCT-Folly (= 2021.07.22.00) - - React-jsiexecutor (0.72.4): + - React-jsiexecutor (0.72.14): - DoubleConversion - glog - RCT-Folly (= 2021.07.22.00) - - React-cxxreact (= 0.72.4) - - React-jsi (= 0.72.4) - - React-perflogger (= 0.72.4) - - React-jsinspector (0.72.4) - - React-logger (0.72.4): + - React-cxxreact (= 0.72.14) + - React-jsi (= 0.72.14) + - React-perflogger (= 0.72.14) + - React-jsinspector (0.72.14) + - React-logger (0.72.14): - glog - react-native-camera (4.2.1): - React-Core @@ -314,28 +314,28 @@ PODS: - React-Core - react-native-geolocation-service (5.3.1): - React - - react-native-get-random-values (1.10.0): + - react-native-get-random-values (1.11.0): - React-Core - - react-native-image-picker (7.1.0): + - react-native-image-picker (7.1.2): - RCT-Folly (= 2021.07.22.00) - React-Core - react-native-image-resizer (1.4.5): - React-Core - react-native-location (2.5.0): - React - - react-native-maps (1.10.2): + - react-native-maps (1.15.1): - React-Core - react-native-mmkv-storage (0.9.1): - MMKV (= 1.2.13) - React-Core - react-native-render-html (6.3.4): - React-Core - - react-native-safe-area-context (4.9.0): + - react-native-safe-area-context (4.10.1): - React-Core - - react-native-webview (13.8.1): + - react-native-webview (13.8.7): - RCT-Folly (= 2021.07.22.00) - React-Core - - React-NativeModulesApple (0.72.4): + - React-NativeModulesApple (0.72.14): - React-callinvoker - React-Core - React-cxxreact @@ -343,17 +343,17 @@ PODS: - React-runtimeexecutor - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - - React-perflogger (0.72.4) - - React-RCTActionSheet (0.72.4): - - React-Core/RCTActionSheetHeaders (= 0.72.4) - - React-RCTAnimation (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.4) - - React-Codegen (= 0.72.4) - - React-Core/RCTAnimationHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTAppDelegate (0.72.4): + - React-perflogger (0.72.14) + - React-RCTActionSheet (0.72.14): + - React-Core/RCTActionSheetHeaders (= 0.72.14) + - React-RCTAnimation (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - RCTTypeSafety (= 0.72.14) + - React-Codegen (= 0.72.14) + - React-Core/RCTAnimationHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTAppDelegate (0.72.14): - RCT-Folly - RCTRequired - RCTTypeSafety @@ -365,120 +365,121 @@ PODS: - React-RCTNetwork - React-runtimescheduler - ReactCommon/turbomodule/core - - React-RCTBlob (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - React-Codegen (= 0.72.4) - - React-Core/RCTBlobHeaders (= 0.72.4) - - React-Core/RCTWebSocket (= 0.72.4) - - React-jsi (= 0.72.4) - - React-RCTNetwork (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTImage (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.4) - - React-Codegen (= 0.72.4) - - React-Core/RCTImageHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - React-RCTNetwork (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTLinking (0.72.4): - - React-Codegen (= 0.72.4) - - React-Core/RCTLinkingHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTNetwork (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.4) - - React-Codegen (= 0.72.4) - - React-Core/RCTNetworkHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTSettings (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - RCTTypeSafety (= 0.72.4) - - React-Codegen (= 0.72.4) - - React-Core/RCTSettingsHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-RCTText (0.72.4): - - React-Core/RCTTextHeaders (= 0.72.4) - - React-RCTVibration (0.72.4): - - RCT-Folly (= 2021.07.22.00) - - React-Codegen (= 0.72.4) - - React-Core/RCTVibrationHeaders (= 0.72.4) - - React-jsi (= 0.72.4) - - ReactCommon/turbomodule/core (= 0.72.4) - - React-rncore (0.72.4) - - React-runtimeexecutor (0.72.4): - - React-jsi (= 0.72.4) - - React-runtimescheduler (0.72.4): + - React-RCTBlob (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - React-Codegen (= 0.72.14) + - React-Core/RCTBlobHeaders (= 0.72.14) + - React-Core/RCTWebSocket (= 0.72.14) + - React-jsi (= 0.72.14) + - React-RCTNetwork (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTImage (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - RCTTypeSafety (= 0.72.14) + - React-Codegen (= 0.72.14) + - React-Core/RCTImageHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - React-RCTNetwork (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTLinking (0.72.14): + - React-Codegen (= 0.72.14) + - React-Core/RCTLinkingHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTNetwork (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - RCTTypeSafety (= 0.72.14) + - React-Codegen (= 0.72.14) + - React-Core/RCTNetworkHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTSettings (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - RCTTypeSafety (= 0.72.14) + - React-Codegen (= 0.72.14) + - React-Core/RCTSettingsHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-RCTText (0.72.14): + - React-Core/RCTTextHeaders (= 0.72.14) + - React-RCTVibration (0.72.14): + - RCT-Folly (= 2021.07.22.00) + - React-Codegen (= 0.72.14) + - React-Core/RCTVibrationHeaders (= 0.72.14) + - React-jsi (= 0.72.14) + - ReactCommon/turbomodule/core (= 0.72.14) + - React-rncore (0.72.14) + - React-runtimeexecutor (0.72.14): + - React-jsi (= 0.72.14) + - React-runtimescheduler (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-callinvoker - React-debug - React-jsi - React-runtimeexecutor - - React-utils (0.72.4): + - React-utils (0.72.14): - glog - RCT-Folly (= 2021.07.22.00) - React-debug - - ReactCommon/turbomodule/bridging (0.72.4): + - ReactCommon/turbomodule/bridging (0.72.14): - DoubleConversion - glog - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.4) - - React-cxxreact (= 0.72.4) - - React-jsi (= 0.72.4) - - React-logger (= 0.72.4) - - React-perflogger (= 0.72.4) - - ReactCommon/turbomodule/core (0.72.4): + - React-callinvoker (= 0.72.14) + - React-cxxreact (= 0.72.14) + - React-jsi (= 0.72.14) + - React-logger (= 0.72.14) + - React-perflogger (= 0.72.14) + - ReactCommon/turbomodule/core (0.72.14): - DoubleConversion - glog - RCT-Folly (= 2021.07.22.00) - - React-callinvoker (= 0.72.4) - - React-cxxreact (= 0.72.4) - - React-jsi (= 0.72.4) - - React-logger (= 0.72.4) - - React-perflogger (= 0.72.4) - - RNBootSplash (5.4.0): + - React-callinvoker (= 0.72.14) + - React-cxxreact (= 0.72.14) + - React-jsi (= 0.72.14) + - React-logger (= 0.72.14) + - React-perflogger (= 0.72.14) + - RNBootSplash (5.5.3): - React-Core - - RNCAsyncStorage (1.21.0): + - RNCAsyncStorage (1.23.1): - React-Core - RNCMaskedView (0.1.11): - React - - RNCPicker (2.6.1): + - RNCPicker (2.7.5): - React-Core - RNCPushNotificationIOS (1.11.0): - React-Core - - RNDateTimePicker (7.6.2): + - RNDateTimePicker (8.0.0): - React-Core - - RNDeviceInfo (10.12.0): + - RNDeviceInfo (10.13.2): - React-Core - RNFastImage (8.6.3): - React-Core - SDWebImage (~> 5.11.1) - SDWebImageWebPCoder (~> 0.8.4) - - RNFlashList (1.6.3): + - RNFlashList (1.6.4): - React-Core - RNFS (2.20.0): - React-Core - - RNGestureHandler (2.15.0): + - RNGestureHandler (2.16.1): - RCT-Folly (= 2021.07.22.00) - React-Core - RNLaunchNavigator (1.0.9): - React - - RNLocalize (3.0.6): + - RNLocalize (3.1.0): - React-Core - - RNPermissions (4.1.1): + - RNPermissions (4.1.5): - React-Core - - RNReanimated (3.7.0): + - RNReanimated (3.10.0): - RCT-Folly (= 2021.07.22.00) - React-Core - ReactCommon/turbomodule/core - - RNScreens (3.29.0): + - RNScreens (3.31.1): - RCT-Folly (= 2021.07.22.00) - React-Core - - RNShare (10.0.2): + - React-RCTImage + - RNShare (10.2.0): - React-Core - RNSVG (14.1.0): - React-Core @@ -526,7 +527,7 @@ PODS: - StripeUICore (23.21.2): - StripeCore (= 23.21.2) - Yoga (1.14.0) - - YoutubePlayer-in-WKWebView (0.3.8) + - YoutubePlayer-in-WKWebView (0.3.9) DEPENDENCIES: - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) @@ -763,77 +764,77 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - boost: 57d2868c099736d80fcd648bf211b4431e51a558 + boost: 7dcd2de282d72e344012f7d6564d024930a6a440 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 - FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5 - FBReactNativeSpec: 3fc2d478e1c4b08276f9dd9128f80ec6d5d85c1f + FBLazyVector: d98eefb42c5a64cb28ef966bd9096c76770d8f24 + FBReactNativeSpec: 53d4eb00e8e1b6e987a3dd5906d2afe131cc54c8 fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009 MMKV: aac95d817a100479445633f2b3ed8961b4ac5043 MMKVCore: 9cfef4c48c6c46f66226fc2e4634d78490206a48 RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 - RCTRequired: c0569ecc035894e4a68baecb30fe6a7ea6e399f9 - RCTTypeSafety: e90354072c21236e0bcf1699011e39acd25fea2f + RCTRequired: 264adaca1d8b1a9c078761891898d4142df05313 + RCTTypeSafety: 279a89da7058a69899778a127be73fab38b84499 RCTYouTube: a8bb45705622a6fc9decf64be04128d3658ed411 - React: a1be3c6dc0a6e949ccd3e659781aa47bbae1868f - React-callinvoker: 1020b33f6cb1a1824f9ca2a86609fbce2a73c6ed - React-Codegen: 97df9239bfc44a4504c4840dfae3a200e4500afe - React-Core: 9df7960451a433053f30a5862728f92088a9150d - React-CoreModules: 21abab85d7ad9038ce2b1c33d39e3baaf7dc9244 - React-cxxreact: 9f0bd765bbffbd2038936d1f0ba1c80ea7649e28 - React-debug: 17366a3d5c5d2f5fc04f09101a4af38cb42b54ae - React-jsc: 844ccd35b8dbd105aa0430b658611a43f10ba8a5 - React-jsi: 8c012b3699d7427e96866dd3a539ca9611fa2546 - React-jsiexecutor: bc8a9ad812a2c88b3a41c08b5f4b3ed32d6d4766 - React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f - React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77 + React: 725b4e11f6ffb43d6f9b14e82879073623db4071 + React-callinvoker: c2ba5e7e1187d0f37705b9dcaaf9bbf24d3fe9dc + React-Codegen: ca5bc760044f8472bf2a78053937307fd2021820 + React-Core: d0796eb91058542db9e67fa9b1b11c66092de1ac + React-CoreModules: 57ea4ca8627be90b1a29916e0640d879e5684305 + React-cxxreact: bbd34bad63b639dbb2c162cce518e8dba33cef57 + React-debug: d360c17c84e514b9143e78217072183d4fcfb9c0 + React-jsc: 6e1aae704b76f5626c00c87439fe405f34a6446e + React-jsi: 5fe75c2ff9eea1e90ed5437fcbafb64032383d52 + React-jsiexecutor: a05da2c08edb1314cc51671c795fd4ed8440c335 + React-jsinspector: 275d9f80210f15f0af9a4b7fd5683fab9738e28e + React-logger: 8da4802de77a0eb62512396ad6bb1769904c2f0e react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f react-native-config: 86038147314e2e6d10ea9972022aa171e6b1d4d8 react-native-geolocation-service: 608e1da71a1ac31b4de64d9ef2815f697978c55b - react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74 - react-native-image-picker: 5e076db26cd81660cfb6db5bcf517cfa12054d45 + react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06 + react-native-image-picker: 1889c342e6a4ba089ff11ae0c3bf5cc30a3134d0 react-native-image-resizer: d9fb629a867335bdc13230ac2a58702bb8c8828f react-native-location: 5a40ec1cc6abf2f6d94df979f98ec76c3a415681 - react-native-maps: 31b0a1b766e15293d349ed7b0b133653432e2098 + react-native-maps: 4c07b21deac3ac3579558956b63e288efb8725bb react-native-mmkv-storage: cfb6854594cfdc5f7383a9e464bb025417d1721c react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe - react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b - react-native-webview: bdc091de8cf7f8397653e30182efcd9f772e03b3 - React-NativeModulesApple: 759309419da76ef4c9f331968b840022ee2aa5b1 - React-perflogger: 496a1a3dc6737f964107cb3ddae7f9e265ddda58 - React-RCTActionSheet: 02904b932b50e680f4e26e7a686b33ebf7ef3c00 - React-RCTAnimation: 88feaf0a85648fb8fd497ce749829774910276d6 - React-RCTAppDelegate: b9e5fe0e4b71f30f3742225dc7085ae10681a1cd - React-RCTBlob: 455b680e457c36f8d98f4338b51cd3cbf48744bd - React-RCTImage: b111645ab901f8e59fc68fbe31f5731bdbeef087 - React-RCTLinking: 3d719727b4c098aad3588aa3559361ee0579f5de - React-RCTNetwork: b44d3580be05d74556ba4efbf53570f17e38f734 - React-RCTSettings: c0c54b330442c29874cd4dae6e94190dc11a6f6f - React-RCTText: 9b9f5589d9b649d7246c3f336e116496df28cfe6 - React-RCTVibration: 691c67f3beaf1d084ceed5eb5c1dddd9afa8591e - React-rncore: 142268f6c92e296dc079aadda3fade778562f9e4 - React-runtimeexecutor: d465ba0c47ef3ed8281143f59605cacc2244d5c7 - React-runtimescheduler: cbd78e16328bde1e5abac4ceb0cb635d03c359c6 - React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a - ReactCommon: 2635a013764a291989765d6ec136513911f478c6 - RNBootSplash: 009c55e0258f3e56be9c5f7a578bf2baf140c4bc - RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef + react-native-safe-area-context: dcab599c527c2d7de2d76507a523d20a0b83823d + react-native-webview: 95464c1249cae28186d3b7c6f494c6a124b16160 + React-NativeModulesApple: 9b58b8f5c1d8ea68d0a63f569a9e786d01281ea6 + React-perflogger: daabc494c6328efc1784a4b49b8b74fca305d11c + React-RCTActionSheet: 0e0e64a7cf6c07f1de73d1f0a92d26a70262b256 + React-RCTAnimation: faef65b19e73029c4828167985b0a7c01c62756d + React-RCTAppDelegate: 1c4c94324d5dee57c79f4b68dc709b1c290068c1 + React-RCTBlob: df6a165ecd97eb5a92d659aa91866ee9ee50bd5e + React-RCTImage: 15e211cbb629210ab9c1fa37e07e7100362b12ed + React-RCTLinking: 50d5faf19b02541cefb78ee5d505029283c8ef95 + React-RCTNetwork: dfa9fb4ad2ae459b9193a14204b1d9da907d15a7 + React-RCTSettings: 37611fa97d44a9c5a7ea844cfb953d3513f7ace0 + React-RCTText: 39ed334f64484d07b85a8159cf117814ff069ff6 + React-RCTVibration: 62462803b5fe0842e0be6d9ef86dd74e0df4a614 + React-rncore: 25ad3a3c1e0f4edf77913b9af3af9f497b7f99a5 + React-runtimeexecutor: e5c2f0a1493d72c61b97465ccfedc339157b3179 + React-runtimescheduler: 5b3b73748021c7349f06fcd24181df17860b8fb6 + React-utils: 22a77b05da25ce49c744faa82e73856dcae1734e + ReactCommon: 07937a01c967f2023d6f2d07114315f099b4b436 + RNBootSplash: e025d4ee98d942ee6c8b495a6fe66339a6b5f6dd + RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489 - RNCPicker: b18aaf30df596e9b1738e7c1f9ee55402a229dca + RNCPicker: 3e2c37a8328f368ce14da050cdc8231deb5fc9f9 RNCPushNotificationIOS: 64218f3c776c03d7408284a819b2abfda1834bc8 - RNDateTimePicker: fc2e4f2795877d45e84d85659bebe627eba5c931 - RNDeviceInfo: db5c64a060e66e5db3102d041ebe3ef307a85120 + RNDateTimePicker: cd42eda5f315fc320f0b359413bd598957f7e601 + RNDeviceInfo: 42aadf1282ffa0a88dc38a504a7be145eb010dfa RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8 - RNFlashList: 4b4b6b093afc0df60ae08f9cbf6ccd4c836c667a + RNFlashList: b521ebdd7f9352673817f1d98e8bdc0c8cf8545b RNFS: 4ac0f0ea233904cb798630b3c077808c06931688 - RNGestureHandler: 7909c50383a18f0cb10ce1db7262b9a6da504c03 + RNGestureHandler: 57b260d9fb69c5dd2bb3a7e4dadcf0d2d4a7027c RNLaunchNavigator: d855643e1f842f13c6cc65575e0755975667032c - RNLocalize: 4222a3756cdbe2dc9a5bdf445765a4d2572107cb - RNPermissions: b51d650e71ad004d0b817439ce3f30ac1819da13 - RNReanimated: 9dfe7a19dd7c3e123b23db42e74bf051725f2ea3 - RNScreens: 3c5b9f4a9dcde752466854b6109b79c0e205dad3 - RNShare: 859ff710211285676b0bcedd156c12437ea1d564 + RNLocalize: e8694475db034bf601e17bd3dfa8986565e769eb + RNPermissions: 0c54132c875e6ffe0d8772321a8216675c8f2c39 + RNReanimated: e1ec9dbbd9540234d005557edcf324411b2a7124 + RNScreens: b8d370282cdeae9df85dd5eab20c88eb5181243b + RNShare: 554a91f5cfbe4adac4cfe3654826ee8b299fe365 RNSVG: ba3e7232f45e34b7b47e74472386cf4e1a676d0a SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d @@ -847,9 +848,9 @@ SPEC CHECKSUMS: StripePaymentSheet: 5b1d25eab80059cedfbee49fe7f30c34b703be89 StripePaymentsUI: 2d1a2bd3c88735e003342f4c8d9d7aa25d7613c0 StripeUICore: d8d6fdcbc77bd8697052501452cbb0fcf1bc6840 - Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981 - YoutubePlayer-in-WKWebView: 4fca3b4f6f09940077bfbae7bddb771f2b43aacd + Yoga: c32e0be1a17f8f1f0e633a3122f7666441f52c82 + YoutubePlayer-in-WKWebView: 2bfac1a51faec752a9ecf6e7019f13347aad4da0 -PODFILE CHECKSUM: 92e6eef34b7886ef226387536f5a45e752c2a4d2 +PODFILE CHECKSUM: 50172781341d4d5ff6ea6899d33c2edad20a04ee -COCOAPODS: 1.14.3 +COCOAPODS: 1.11.2 diff --git a/ios/StorefrontApp/Info.plist b/ios/StorefrontApp/Info.plist index 1207752..ee31441 100644 --- a/ios/StorefrontApp/Info.plist +++ b/ios/StorefrontApp/Info.plist @@ -1,91 +1,91 @@ + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + $(APP_NAME) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconName + AppIcon + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSRequiresIPhoneOS + + NSAppTransportSecurity - CFBundleDevelopmentRegion - en - CFBundleDisplayName - $(APP_NAME) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconName - AppIcon - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(MARKETING_VERSION) - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - LSRequiresIPhoneOS - - NSAppTransportSecurity + NSExceptionDomains - NSExceptionDomains + fleetbase.engineering - fleetbase.engineering - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - fleetbase.io - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - localhost - - NSExceptionAllowsInsecureHTTPLoads - - + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + fleetbase.io + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + localhost + + NSExceptionAllowsInsecureHTTPLoads + - NSCameraUsageDescription - This app may need to use your camera for your profile picture - NSContactsUsageDescription - This app may need to access your contacts for sharing - NSLocationAlwaysAndWhenInUseUsageDescription - This app requires access to your location to provide create user address for order - when the app is in use - NSLocationAlwaysUsageDescription - This app requires access to your location to provide create user address for order - when the app is in use - NSLocationWhenInUseUsageDescription - This app requires access to your location to provide create user address for order - when the app is in use - NSLocalUsageDescription - This app requires access to send you notifications about order status updates and - other important information. - NSPhotoLibraryUsageDescription - This app allows you to upload photos from your photo library - UIBackgroundModes - - remote-notification - - UILaunchStoryboardName - BootSplash - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - \ No newline at end of file + NSCameraUsageDescription + This app may need to use your camera for your profile picture + NSContactsUsageDescription + This app may need to access your contacts for sharing + NSLocalUsageDescription + This app requires access to send you notifications about order status updates and + other important information. + NSLocationAlwaysAndWhenInUseUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSLocationAlwaysUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSLocationWhenInUseUsageDescription + This app requires access to your location to provide create user address for order + when the app is in use + NSPhotoLibraryUsageDescription + This app allows you to upload photos from your photo library + UIBackgroundModes + + remote-notification + + UILaunchStoryboardName + BootSplash + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + + diff --git a/patches/@react-native-community+datetimepicker+7.7.0.patch b/patches/@react-native-community+datetimepicker+7.7.0.patch new file mode 100644 index 0000000..1ebdc15 --- /dev/null +++ b/patches/@react-native-community+datetimepicker+7.7.0.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m +index 4ff3362..c139440 100644 +--- a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m ++++ b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m +@@ -41,7 +41,7 @@ - (void)setTimeZoneName:(NSString *)timeZoneName { + YGNodeMarkDirty(self.yogaNode); + } + +-static YGSize RNDateTimePickerShadowViewMeasure(YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) ++static YGSize RNDateTimePickerShadowViewMeasure(YGNodeRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) + { + RNDateTimePickerShadowView *shadowPickerView = (__bridge RNDateTimePickerShadowView *)YGNodeGetContext(node); + diff --git a/patches/react-native+0.72.4.patch b/patches/react-native+0.72.4.patch deleted file mode 100644 index 4d28196..0000000 --- a/patches/react-native+0.72.4.patch +++ /dev/null @@ -1,1548 +0,0 @@ -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h -new file mode 100644 -index 0000000..37b7d8d ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h -@@ -0,0 +1,29 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateComponentDescriptorH.js -+ */ -+ -+#pragma once -+ -+#include -+#include -+ -+namespace facebook { -+namespace react { -+ -+using AndroidHorizontalScrollContentViewComponentDescriptor = ConcreteComponentDescriptor; -+using AndroidSwipeRefreshLayoutComponentDescriptor = ConcreteComponentDescriptor; -+using PullToRefreshViewComponentDescriptor = ConcreteComponentDescriptor; -+using AndroidDrawerLayoutComponentDescriptor = ConcreteComponentDescriptor; -+using ActivityIndicatorViewComponentDescriptor = ConcreteComponentDescriptor; -+using UnimplementedNativeViewComponentDescriptor = ConcreteComponentDescriptor; -+using SwitchComponentDescriptor = ConcreteComponentDescriptor; -+using TraceUpdateOverlayComponentDescriptor = ConcreteComponentDescriptor; -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp -new file mode 100644 -index 0000000..229fadc ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp -@@ -0,0 +1,111 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateEventEmitterCpp.js -+ */ -+ -+#include -+ -+namespace facebook { -+namespace react { -+ -+ -+ -+ -+void AndroidSwipeRefreshLayoutEventEmitter::onRefresh(OnRefresh event) const { -+ dispatchEvent("refresh", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+void PullToRefreshViewEventEmitter::onRefresh(OnRefresh event) const { -+ dispatchEvent("refresh", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+ -+void AndroidDrawerLayoutEventEmitter::onDrawerSlide(OnDrawerSlide event) const { -+ dispatchEvent("drawerSlide", [event=std::move(event)](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ payload.setProperty(runtime, "offset", event.offset); -+ return payload; -+ }); -+} -+void AndroidDrawerLayoutEventEmitter::onDrawerStateChanged(OnDrawerStateChanged event) const { -+ dispatchEvent("drawerStateChanged", [event=std::move(event)](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ payload.setProperty(runtime, "drawerState", event.drawerState); -+ return payload; -+ }); -+} -+void AndroidDrawerLayoutEventEmitter::onDrawerOpen(OnDrawerOpen event) const { -+ dispatchEvent("drawerOpen", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+void AndroidDrawerLayoutEventEmitter::onDrawerClose(OnDrawerClose event) const { -+ dispatchEvent("drawerClose", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+ -+ -+void SwitchEventEmitter::onChange(OnChange event) const { -+ dispatchEvent("change", [event=std::move(event)](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ payload.setProperty(runtime, "value", event.value); -+payload.setProperty(runtime, "target", event.target); -+ return payload; -+ }); -+} -+void AndroidSwitchEventEmitter::onChange(OnChange event) const { -+ dispatchEvent("change", [event=std::move(event)](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ payload.setProperty(runtime, "value", event.value); -+payload.setProperty(runtime, "target", event.target); -+ return payload; -+ }); -+} -+ -+void ModalHostViewEventEmitter::onRequestClose(OnRequestClose event) const { -+ dispatchEvent("requestClose", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+void ModalHostViewEventEmitter::onShow(OnShow event) const { -+ dispatchEvent("show", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+void ModalHostViewEventEmitter::onDismiss(OnDismiss event) const { -+ dispatchEvent("dismiss", [](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ -+ return payload; -+ }); -+} -+void ModalHostViewEventEmitter::onOrientationChange(OnOrientationChange event) const { -+ dispatchEvent("orientationChange", [event=std::move(event)](jsi::Runtime &runtime) { -+ auto payload = jsi::Object(runtime); -+ payload.setProperty(runtime, "orientation", toString(event.orientation)); -+ return payload; -+ }); -+} -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.h -new file mode 100644 -index 0000000..1897be1 ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/EventEmitters.h -@@ -0,0 +1,186 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateEventEmitterH.js -+ */ -+#pragma once -+ -+#include -+#include -+ -+namespace facebook { -+namespace react { -+ -+class JSI_EXPORT SafeAreaViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT AndroidHorizontalScrollContentViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT AndroidProgressBarEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT AndroidSwipeRefreshLayoutEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnRefresh { -+ -+ }; -+ -+ void onRefresh(OnRefresh value) const; -+}; -+class JSI_EXPORT PullToRefreshViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnRefresh { -+ -+ }; -+ -+ void onRefresh(OnRefresh value) const; -+}; -+class JSI_EXPORT InputAccessoryEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT AndroidDrawerLayoutEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnDrawerSlide { -+ Float offset; -+ }; -+ -+ struct OnDrawerStateChanged { -+ int drawerState; -+ }; -+ -+ struct OnDrawerOpen { -+ -+ }; -+ -+ struct OnDrawerClose { -+ -+ }; -+ -+ void onDrawerSlide(OnDrawerSlide value) const; -+ -+ void onDrawerStateChanged(OnDrawerStateChanged value) const; -+ -+ void onDrawerOpen(OnDrawerOpen value) const; -+ -+ void onDrawerClose(OnDrawerClose value) const; -+}; -+class JSI_EXPORT ActivityIndicatorViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT UnimplementedNativeViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT SwitchEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnChange { -+ bool value; -+ int target; -+ }; -+ -+ void onChange(OnChange value) const; -+}; -+class JSI_EXPORT AndroidSwitchEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnChange { -+ bool value; -+ int target; -+ }; -+ -+ void onChange(OnChange value) const; -+}; -+class JSI_EXPORT TraceUpdateOverlayEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ -+ -+ -+}; -+class JSI_EXPORT ModalHostViewEventEmitter : public ViewEventEmitter { -+ public: -+ using ViewEventEmitter::ViewEventEmitter; -+ -+ struct OnRequestClose { -+ -+ }; -+ -+ struct OnShow { -+ -+ }; -+ -+ struct OnDismiss { -+ -+ }; -+ -+ enum class OnOrientationChangeOrientation { -+ Portrait, -+ Landscape -+ }; -+ -+ static char const *toString(const OnOrientationChangeOrientation value) { -+ switch (value) { -+ case OnOrientationChangeOrientation::Portrait: return "portrait"; -+ case OnOrientationChangeOrientation::Landscape: return "landscape"; -+ } -+ } -+ -+ struct OnOrientationChange { -+ OnOrientationChangeOrientation orientation; -+ }; -+ -+ void onRequestClose(OnRequestClose value) const; -+ -+ void onShow(OnShow value) const; -+ -+ void onDismiss(OnDismiss value) const; -+ -+ void onOrientationChange(OnOrientationChange value) const; -+}; -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.cpp b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.cpp -new file mode 100644 -index 0000000..59f24e5 ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.cpp -@@ -0,0 +1,157 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GeneratePropsCpp.js -+ */ -+ -+#include -+#include -+#include -+ -+namespace facebook { -+namespace react { -+ -+SafeAreaViewProps::SafeAreaViewProps( -+ const PropsParserContext &context, -+ const SafeAreaViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps) -+ -+ -+ {} -+AndroidHorizontalScrollContentViewProps::AndroidHorizontalScrollContentViewProps( -+ const PropsParserContext &context, -+ const AndroidHorizontalScrollContentViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ removeClippedSubviews(convertRawProp(context, rawProps, "removeClippedSubviews", sourceProps.removeClippedSubviews, {false})) -+ {} -+AndroidProgressBarProps::AndroidProgressBarProps( -+ const PropsParserContext &context, -+ const AndroidProgressBarProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ styleAttr(convertRawProp(context, rawProps, "styleAttr", sourceProps.styleAttr, {})), -+ typeAttr(convertRawProp(context, rawProps, "typeAttr", sourceProps.typeAttr, {})), -+ indeterminate(convertRawProp(context, rawProps, "indeterminate", sourceProps.indeterminate, {false})), -+ progress(convertRawProp(context, rawProps, "progress", sourceProps.progress, {0.0})), -+ animating(convertRawProp(context, rawProps, "animating", sourceProps.animating, {true})), -+ color(convertRawProp(context, rawProps, "color", sourceProps.color, {})), -+ testID(convertRawProp(context, rawProps, "testID", sourceProps.testID, {""})) -+ {} -+AndroidSwipeRefreshLayoutProps::AndroidSwipeRefreshLayoutProps( -+ const PropsParserContext &context, -+ const AndroidSwipeRefreshLayoutProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ enabled(convertRawProp(context, rawProps, "enabled", sourceProps.enabled, {true})), -+ colors(convertRawProp(context, rawProps, "colors", sourceProps.colors, {})), -+ progressBackgroundColor(convertRawProp(context, rawProps, "progressBackgroundColor", sourceProps.progressBackgroundColor, {})), -+ size(convertRawProp(context, rawProps, "size", sourceProps.size, {AndroidSwipeRefreshLayoutSize::Default})), -+ progressViewOffset(convertRawProp(context, rawProps, "progressViewOffset", sourceProps.progressViewOffset, {0.0})), -+ refreshing(convertRawProp(context, rawProps, "refreshing", sourceProps.refreshing, {false})) -+ {} -+PullToRefreshViewProps::PullToRefreshViewProps( -+ const PropsParserContext &context, -+ const PullToRefreshViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ tintColor(convertRawProp(context, rawProps, "tintColor", sourceProps.tintColor, {})), -+ titleColor(convertRawProp(context, rawProps, "titleColor", sourceProps.titleColor, {})), -+ title(convertRawProp(context, rawProps, "title", sourceProps.title, {})), -+ progressViewOffset(convertRawProp(context, rawProps, "progressViewOffset", sourceProps.progressViewOffset, {0.0})), -+ refreshing(convertRawProp(context, rawProps, "refreshing", sourceProps.refreshing, {false})) -+ {} -+InputAccessoryProps::InputAccessoryProps( -+ const PropsParserContext &context, -+ const InputAccessoryProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ backgroundColor(convertRawProp(context, rawProps, "backgroundColor", sourceProps.backgroundColor, {})) -+ {} -+AndroidDrawerLayoutProps::AndroidDrawerLayoutProps( -+ const PropsParserContext &context, -+ const AndroidDrawerLayoutProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ keyboardDismissMode(convertRawProp(context, rawProps, "keyboardDismissMode", sourceProps.keyboardDismissMode, {AndroidDrawerLayoutKeyboardDismissMode::None})), -+ drawerBackgroundColor(convertRawProp(context, rawProps, "drawerBackgroundColor", sourceProps.drawerBackgroundColor, {})), -+ drawerPosition(convertRawProp(context, rawProps, "drawerPosition", sourceProps.drawerPosition, {AndroidDrawerLayoutDrawerPosition::Left})), -+ drawerWidth(convertRawProp(context, rawProps, "drawerWidth", sourceProps.drawerWidth, {})), -+ drawerLockMode(convertRawProp(context, rawProps, "drawerLockMode", sourceProps.drawerLockMode, {AndroidDrawerLayoutDrawerLockMode::Unlocked})), -+ statusBarBackgroundColor(convertRawProp(context, rawProps, "statusBarBackgroundColor", sourceProps.statusBarBackgroundColor, {})) -+ {} -+ActivityIndicatorViewProps::ActivityIndicatorViewProps( -+ const PropsParserContext &context, -+ const ActivityIndicatorViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ hidesWhenStopped(convertRawProp(context, rawProps, "hidesWhenStopped", sourceProps.hidesWhenStopped, {false})), -+ animating(convertRawProp(context, rawProps, "animating", sourceProps.animating, {false})), -+ color(convertRawProp(context, rawProps, "color", sourceProps.color, {})), -+ size(convertRawProp(context, rawProps, "size", sourceProps.size, {ActivityIndicatorViewSize::Small})) -+ {} -+UnimplementedNativeViewProps::UnimplementedNativeViewProps( -+ const PropsParserContext &context, -+ const UnimplementedNativeViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ name(convertRawProp(context, rawProps, "name", sourceProps.name, {""})) -+ {} -+SwitchProps::SwitchProps( -+ const PropsParserContext &context, -+ const SwitchProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ disabled(convertRawProp(context, rawProps, "disabled", sourceProps.disabled, {false})), -+ value(convertRawProp(context, rawProps, "value", sourceProps.value, {false})), -+ tintColor(convertRawProp(context, rawProps, "tintColor", sourceProps.tintColor, {})), -+ onTintColor(convertRawProp(context, rawProps, "onTintColor", sourceProps.onTintColor, {})), -+ thumbTintColor(convertRawProp(context, rawProps, "thumbTintColor", sourceProps.thumbTintColor, {})), -+ thumbColor(convertRawProp(context, rawProps, "thumbColor", sourceProps.thumbColor, {})), -+ trackColorForFalse(convertRawProp(context, rawProps, "trackColorForFalse", sourceProps.trackColorForFalse, {})), -+ trackColorForTrue(convertRawProp(context, rawProps, "trackColorForTrue", sourceProps.trackColorForTrue, {})) -+ {} -+AndroidSwitchProps::AndroidSwitchProps( -+ const PropsParserContext &context, -+ const AndroidSwitchProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ disabled(convertRawProp(context, rawProps, "disabled", sourceProps.disabled, {false})), -+ enabled(convertRawProp(context, rawProps, "enabled", sourceProps.enabled, {true})), -+ thumbColor(convertRawProp(context, rawProps, "thumbColor", sourceProps.thumbColor, {})), -+ trackColorForFalse(convertRawProp(context, rawProps, "trackColorForFalse", sourceProps.trackColorForFalse, {})), -+ trackColorForTrue(convertRawProp(context, rawProps, "trackColorForTrue", sourceProps.trackColorForTrue, {})), -+ value(convertRawProp(context, rawProps, "value", sourceProps.value, {false})), -+ on(convertRawProp(context, rawProps, "on", sourceProps.on, {false})), -+ thumbTintColor(convertRawProp(context, rawProps, "thumbTintColor", sourceProps.thumbTintColor, {})), -+ trackTintColor(convertRawProp(context, rawProps, "trackTintColor", sourceProps.trackTintColor, {})) -+ {} -+TraceUpdateOverlayProps::TraceUpdateOverlayProps( -+ const PropsParserContext &context, -+ const TraceUpdateOverlayProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps) -+ -+ -+ {} -+ModalHostViewProps::ModalHostViewProps( -+ const PropsParserContext &context, -+ const ModalHostViewProps &sourceProps, -+ const RawProps &rawProps): ViewProps(context, sourceProps, rawProps), -+ -+ animationType(convertRawProp(context, rawProps, "animationType", sourceProps.animationType, {ModalHostViewAnimationType::None})), -+ presentationStyle(convertRawProp(context, rawProps, "presentationStyle", sourceProps.presentationStyle, {ModalHostViewPresentationStyle::FullScreen})), -+ transparent(convertRawProp(context, rawProps, "transparent", sourceProps.transparent, {false})), -+ statusBarTranslucent(convertRawProp(context, rawProps, "statusBarTranslucent", sourceProps.statusBarTranslucent, {false})), -+ hardwareAccelerated(convertRawProp(context, rawProps, "hardwareAccelerated", sourceProps.hardwareAccelerated, {false})), -+ visible(convertRawProp(context, rawProps, "visible", sourceProps.visible, {false})), -+ animated(convertRawProp(context, rawProps, "animated", sourceProps.animated, {false})), -+ supportedOrientations(convertRawProp(context, rawProps, "supportedOrientations", sourceProps.supportedOrientations, {static_cast(ModalHostViewSupportedOrientations::Portrait)})), -+ identifier(convertRawProp(context, rawProps, "identifier", sourceProps.identifier, {0})) -+ {} -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.h -new file mode 100644 -index 0000000..f402340 ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/Props.h -@@ -0,0 +1,395 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GeneratePropsH.js -+ */ -+#pragma once -+ -+#include -+#include -+#include -+#include -+#include -+#include -+ -+namespace facebook { -+namespace react { -+ -+class JSI_EXPORT SafeAreaViewProps final : public ViewProps { -+ public: -+ SafeAreaViewProps() = default; -+ SafeAreaViewProps(const PropsParserContext& context, const SafeAreaViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ -+}; -+ -+class JSI_EXPORT AndroidHorizontalScrollContentViewProps final : public ViewProps { -+ public: -+ AndroidHorizontalScrollContentViewProps() = default; -+ AndroidHorizontalScrollContentViewProps(const PropsParserContext& context, const AndroidHorizontalScrollContentViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ bool removeClippedSubviews{false}; -+}; -+ -+class JSI_EXPORT AndroidProgressBarProps final : public ViewProps { -+ public: -+ AndroidProgressBarProps() = default; -+ AndroidProgressBarProps(const PropsParserContext& context, const AndroidProgressBarProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ std::string styleAttr{}; -+ std::string typeAttr{}; -+ bool indeterminate{false}; -+ double progress{0.0}; -+ bool animating{true}; -+ SharedColor color{}; -+ std::string testID{""}; -+}; -+ -+enum class AndroidSwipeRefreshLayoutSize { Default, Large }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, AndroidSwipeRefreshLayoutSize &result) { -+ auto string = (std::string)value; -+ if (string == "default") { result = AndroidSwipeRefreshLayoutSize::Default; return; } -+ if (string == "large") { result = AndroidSwipeRefreshLayoutSize::Large; return; } -+ abort(); -+} -+ -+static inline std::string toString(const AndroidSwipeRefreshLayoutSize &value) { -+ switch (value) { -+ case AndroidSwipeRefreshLayoutSize::Default: return "default"; -+ case AndroidSwipeRefreshLayoutSize::Large: return "large"; -+ } -+} -+ -+class JSI_EXPORT AndroidSwipeRefreshLayoutProps final : public ViewProps { -+ public: -+ AndroidSwipeRefreshLayoutProps() = default; -+ AndroidSwipeRefreshLayoutProps(const PropsParserContext& context, const AndroidSwipeRefreshLayoutProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ bool enabled{true}; -+ std::vector colors{}; -+ SharedColor progressBackgroundColor{}; -+ AndroidSwipeRefreshLayoutSize size{AndroidSwipeRefreshLayoutSize::Default}; -+ Float progressViewOffset{0.0}; -+ bool refreshing{false}; -+}; -+ -+class JSI_EXPORT PullToRefreshViewProps final : public ViewProps { -+ public: -+ PullToRefreshViewProps() = default; -+ PullToRefreshViewProps(const PropsParserContext& context, const PullToRefreshViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ SharedColor tintColor{}; -+ SharedColor titleColor{}; -+ std::string title{}; -+ Float progressViewOffset{0.0}; -+ bool refreshing{false}; -+}; -+ -+class JSI_EXPORT InputAccessoryProps final : public ViewProps { -+ public: -+ InputAccessoryProps() = default; -+ InputAccessoryProps(const PropsParserContext& context, const InputAccessoryProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ SharedColor backgroundColor{}; -+}; -+ -+enum class AndroidDrawerLayoutKeyboardDismissMode { None, OnDrag }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, AndroidDrawerLayoutKeyboardDismissMode &result) { -+ auto string = (std::string)value; -+ if (string == "none") { result = AndroidDrawerLayoutKeyboardDismissMode::None; return; } -+ if (string == "on-drag") { result = AndroidDrawerLayoutKeyboardDismissMode::OnDrag; return; } -+ abort(); -+} -+ -+static inline std::string toString(const AndroidDrawerLayoutKeyboardDismissMode &value) { -+ switch (value) { -+ case AndroidDrawerLayoutKeyboardDismissMode::None: return "none"; -+ case AndroidDrawerLayoutKeyboardDismissMode::OnDrag: return "on-drag"; -+ } -+} -+enum class AndroidDrawerLayoutDrawerPosition { Left, Right }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, AndroidDrawerLayoutDrawerPosition &result) { -+ auto string = (std::string)value; -+ if (string == "left") { result = AndroidDrawerLayoutDrawerPosition::Left; return; } -+ if (string == "right") { result = AndroidDrawerLayoutDrawerPosition::Right; return; } -+ abort(); -+} -+ -+static inline std::string toString(const AndroidDrawerLayoutDrawerPosition &value) { -+ switch (value) { -+ case AndroidDrawerLayoutDrawerPosition::Left: return "left"; -+ case AndroidDrawerLayoutDrawerPosition::Right: return "right"; -+ } -+} -+enum class AndroidDrawerLayoutDrawerLockMode { Unlocked, LockedClosed, LockedOpen }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, AndroidDrawerLayoutDrawerLockMode &result) { -+ auto string = (std::string)value; -+ if (string == "unlocked") { result = AndroidDrawerLayoutDrawerLockMode::Unlocked; return; } -+ if (string == "locked-closed") { result = AndroidDrawerLayoutDrawerLockMode::LockedClosed; return; } -+ if (string == "locked-open") { result = AndroidDrawerLayoutDrawerLockMode::LockedOpen; return; } -+ abort(); -+} -+ -+static inline std::string toString(const AndroidDrawerLayoutDrawerLockMode &value) { -+ switch (value) { -+ case AndroidDrawerLayoutDrawerLockMode::Unlocked: return "unlocked"; -+ case AndroidDrawerLayoutDrawerLockMode::LockedClosed: return "locked-closed"; -+ case AndroidDrawerLayoutDrawerLockMode::LockedOpen: return "locked-open"; -+ } -+} -+ -+class JSI_EXPORT AndroidDrawerLayoutProps final : public ViewProps { -+ public: -+ AndroidDrawerLayoutProps() = default; -+ AndroidDrawerLayoutProps(const PropsParserContext& context, const AndroidDrawerLayoutProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ AndroidDrawerLayoutKeyboardDismissMode keyboardDismissMode{AndroidDrawerLayoutKeyboardDismissMode::None}; -+ SharedColor drawerBackgroundColor{}; -+ AndroidDrawerLayoutDrawerPosition drawerPosition{AndroidDrawerLayoutDrawerPosition::Left}; -+ Float drawerWidth{}; -+ AndroidDrawerLayoutDrawerLockMode drawerLockMode{AndroidDrawerLayoutDrawerLockMode::Unlocked}; -+ SharedColor statusBarBackgroundColor{}; -+}; -+ -+enum class ActivityIndicatorViewSize { Small, Large }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, ActivityIndicatorViewSize &result) { -+ auto string = (std::string)value; -+ if (string == "small") { result = ActivityIndicatorViewSize::Small; return; } -+ if (string == "large") { result = ActivityIndicatorViewSize::Large; return; } -+ abort(); -+} -+ -+static inline std::string toString(const ActivityIndicatorViewSize &value) { -+ switch (value) { -+ case ActivityIndicatorViewSize::Small: return "small"; -+ case ActivityIndicatorViewSize::Large: return "large"; -+ } -+} -+ -+class JSI_EXPORT ActivityIndicatorViewProps final : public ViewProps { -+ public: -+ ActivityIndicatorViewProps() = default; -+ ActivityIndicatorViewProps(const PropsParserContext& context, const ActivityIndicatorViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ bool hidesWhenStopped{false}; -+ bool animating{false}; -+ SharedColor color{}; -+ ActivityIndicatorViewSize size{ActivityIndicatorViewSize::Small}; -+}; -+ -+class JSI_EXPORT UnimplementedNativeViewProps final : public ViewProps { -+ public: -+ UnimplementedNativeViewProps() = default; -+ UnimplementedNativeViewProps(const PropsParserContext& context, const UnimplementedNativeViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ std::string name{""}; -+}; -+ -+class JSI_EXPORT SwitchProps final : public ViewProps { -+ public: -+ SwitchProps() = default; -+ SwitchProps(const PropsParserContext& context, const SwitchProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ bool disabled{false}; -+ bool value{false}; -+ SharedColor tintColor{}; -+ SharedColor onTintColor{}; -+ SharedColor thumbTintColor{}; -+ SharedColor thumbColor{}; -+ SharedColor trackColorForFalse{}; -+ SharedColor trackColorForTrue{}; -+}; -+ -+class JSI_EXPORT AndroidSwitchProps final : public ViewProps { -+ public: -+ AndroidSwitchProps() = default; -+ AndroidSwitchProps(const PropsParserContext& context, const AndroidSwitchProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ bool disabled{false}; -+ bool enabled{true}; -+ SharedColor thumbColor{}; -+ SharedColor trackColorForFalse{}; -+ SharedColor trackColorForTrue{}; -+ bool value{false}; -+ bool on{false}; -+ SharedColor thumbTintColor{}; -+ SharedColor trackTintColor{}; -+}; -+ -+class JSI_EXPORT TraceUpdateOverlayProps final : public ViewProps { -+ public: -+ TraceUpdateOverlayProps() = default; -+ TraceUpdateOverlayProps(const PropsParserContext& context, const TraceUpdateOverlayProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ -+}; -+ -+enum class ModalHostViewAnimationType { None, Slide, Fade }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, ModalHostViewAnimationType &result) { -+ auto string = (std::string)value; -+ if (string == "none") { result = ModalHostViewAnimationType::None; return; } -+ if (string == "slide") { result = ModalHostViewAnimationType::Slide; return; } -+ if (string == "fade") { result = ModalHostViewAnimationType::Fade; return; } -+ abort(); -+} -+ -+static inline std::string toString(const ModalHostViewAnimationType &value) { -+ switch (value) { -+ case ModalHostViewAnimationType::None: return "none"; -+ case ModalHostViewAnimationType::Slide: return "slide"; -+ case ModalHostViewAnimationType::Fade: return "fade"; -+ } -+} -+enum class ModalHostViewPresentationStyle { FullScreen, PageSheet, FormSheet, OverFullScreen }; -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, ModalHostViewPresentationStyle &result) { -+ auto string = (std::string)value; -+ if (string == "fullScreen") { result = ModalHostViewPresentationStyle::FullScreen; return; } -+ if (string == "pageSheet") { result = ModalHostViewPresentationStyle::PageSheet; return; } -+ if (string == "formSheet") { result = ModalHostViewPresentationStyle::FormSheet; return; } -+ if (string == "overFullScreen") { result = ModalHostViewPresentationStyle::OverFullScreen; return; } -+ abort(); -+} -+ -+static inline std::string toString(const ModalHostViewPresentationStyle &value) { -+ switch (value) { -+ case ModalHostViewPresentationStyle::FullScreen: return "fullScreen"; -+ case ModalHostViewPresentationStyle::PageSheet: return "pageSheet"; -+ case ModalHostViewPresentationStyle::FormSheet: return "formSheet"; -+ case ModalHostViewPresentationStyle::OverFullScreen: return "overFullScreen"; -+ } -+} -+using ModalHostViewSupportedOrientationsMask = uint32_t; -+ -+enum class ModalHostViewSupportedOrientations: ModalHostViewSupportedOrientationsMask { -+ Portrait = 1 << 0, -+ PortraitUpsideDown = 1 << 1, -+ Landscape = 1 << 2, -+ LandscapeLeft = 1 << 3, -+ LandscapeRight = 1 << 4 -+}; -+ -+constexpr bool operator&( -+ ModalHostViewSupportedOrientationsMask const lhs, -+ enum ModalHostViewSupportedOrientations const rhs) { -+ return lhs & static_cast(rhs); -+} -+ -+constexpr ModalHostViewSupportedOrientationsMask operator|( -+ ModalHostViewSupportedOrientationsMask const lhs, -+ enum ModalHostViewSupportedOrientations const rhs) { -+ return lhs | static_cast(rhs); -+} -+ -+constexpr void operator|=( -+ ModalHostViewSupportedOrientationsMask &lhs, -+ enum ModalHostViewSupportedOrientations const rhs) { -+ lhs = lhs | static_cast(rhs); -+} -+ -+static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, ModalHostViewSupportedOrientationsMask &result) { -+ auto items = std::vector{value}; -+ for (const auto &item : items) { -+ if (item == "portrait") { -+ result |= ModalHostViewSupportedOrientations::Portrait; -+ continue; -+ } -+ if (item == "portrait-upside-down") { -+ result |= ModalHostViewSupportedOrientations::PortraitUpsideDown; -+ continue; -+ } -+ if (item == "landscape") { -+ result |= ModalHostViewSupportedOrientations::Landscape; -+ continue; -+ } -+ if (item == "landscape-left") { -+ result |= ModalHostViewSupportedOrientations::LandscapeLeft; -+ continue; -+ } -+ if (item == "landscape-right") { -+ result |= ModalHostViewSupportedOrientations::LandscapeRight; -+ continue; -+ } -+ abort(); -+ } -+} -+ -+static inline std::string toString(const ModalHostViewSupportedOrientationsMask &value) { -+ auto result = std::string{}; -+ auto separator = std::string{", "}; -+ -+ if (value & ModalHostViewSupportedOrientations::Portrait) { -+ result += "portrait" + separator; -+ } -+ if (value & ModalHostViewSupportedOrientations::PortraitUpsideDown) { -+ result += "portrait-upside-down" + separator; -+ } -+ if (value & ModalHostViewSupportedOrientations::Landscape) { -+ result += "landscape" + separator; -+ } -+ if (value & ModalHostViewSupportedOrientations::LandscapeLeft) { -+ result += "landscape-left" + separator; -+ } -+ if (value & ModalHostViewSupportedOrientations::LandscapeRight) { -+ result += "landscape-right" + separator; -+ } -+ if (!result.empty()) { -+ result.erase(result.length() - separator.length()); -+ } -+ return result; -+} -+ -+class JSI_EXPORT ModalHostViewProps final : public ViewProps { -+ public: -+ ModalHostViewProps() = default; -+ ModalHostViewProps(const PropsParserContext& context, const ModalHostViewProps &sourceProps, const RawProps &rawProps); -+ -+#pragma mark - Props -+ -+ ModalHostViewAnimationType animationType{ModalHostViewAnimationType::None}; -+ ModalHostViewPresentationStyle presentationStyle{ModalHostViewPresentationStyle::FullScreen}; -+ bool transparent{false}; -+ bool statusBarTranslucent{false}; -+ bool hardwareAccelerated{false}; -+ bool visible{false}; -+ bool animated{false}; -+ ModalHostViewSupportedOrientationsMask supportedOrientations{static_cast(ModalHostViewSupportedOrientations::Portrait)}; -+ int identifier{0}; -+}; -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h -new file mode 100644 -index 0000000..e08f2ae ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h -@@ -0,0 +1,257 @@ -+/** -+* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+* -+* Do not edit this file as changes may cause incorrect behavior and will be lost -+* once the code is regenerated. -+* -+* @generated by codegen project: GenerateComponentHObjCpp.js -+*/ -+ -+#import -+#import -+#import -+ -+NS_ASSUME_NONNULL_BEGIN -+ -+@protocol RCTSafeAreaViewViewProtocol -+ -+@end -+ -+@protocol RCTAndroidHorizontalScrollContentViewViewProtocol -+ -+@end -+ -+@protocol RCTAndroidProgressBarViewProtocol -+ -+@end -+ -+@protocol RCTAndroidSwipeRefreshLayoutViewProtocol -+- (void)setNativeRefreshing:(BOOL)value; -+@end -+ -+RCT_EXTERN inline void RCTAndroidSwipeRefreshLayoutHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"setNativeRefreshing"]) { -+#if RCT_DEBUG -+ if ([args count] != 1) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidSwipeRefreshLayout", commandName, (int)[args count], 1); -+ return; -+ } -+#endif -+ -+ NSObject *arg0 = args[0]; -+#if RCT_DEBUG -+ if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"AndroidSwipeRefreshLayout", commandName, @"1st")) { -+ return; -+ } -+#endif -+ BOOL value = [(NSNumber *)arg0 boolValue]; -+ -+ [componentView setNativeRefreshing:value]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidSwipeRefreshLayout", commandName); -+#endif -+} -+ -+@protocol RCTPullToRefreshViewViewProtocol -+- (void)setNativeRefreshing:(BOOL)refreshing; -+@end -+ -+RCT_EXTERN inline void RCTPullToRefreshViewHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"setNativeRefreshing"]) { -+#if RCT_DEBUG -+ if ([args count] != 1) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"PullToRefreshView", commandName, (int)[args count], 1); -+ return; -+ } -+#endif -+ -+ NSObject *arg0 = args[0]; -+#if RCT_DEBUG -+ if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"PullToRefreshView", commandName, @"1st")) { -+ return; -+ } -+#endif -+ BOOL refreshing = [(NSNumber *)arg0 boolValue]; -+ -+ [componentView setNativeRefreshing:refreshing]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"PullToRefreshView", commandName); -+#endif -+} -+ -+@protocol RCTInputAccessoryViewProtocol -+ -+@end -+ -+@protocol RCTAndroidDrawerLayoutViewProtocol -+- (void)openDrawer; -+- (void)closeDrawer; -+@end -+ -+RCT_EXTERN inline void RCTAndroidDrawerLayoutHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"openDrawer"]) { -+#if RCT_DEBUG -+ if ([args count] != 0) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidDrawerLayout", commandName, (int)[args count], 0); -+ return; -+ } -+#endif -+ -+ -+ -+ [componentView openDrawer]; -+ return; -+} -+ -+if ([commandName isEqualToString:@"closeDrawer"]) { -+#if RCT_DEBUG -+ if ([args count] != 0) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidDrawerLayout", commandName, (int)[args count], 0); -+ return; -+ } -+#endif -+ -+ -+ -+ [componentView closeDrawer]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidDrawerLayout", commandName); -+#endif -+} -+ -+@protocol RCTActivityIndicatorViewViewProtocol -+ -+@end -+ -+@protocol RCTUnimplementedNativeViewViewProtocol -+ -+@end -+ -+@protocol RCTSwitchViewProtocol -+- (void)setValue:(BOOL)value; -+@end -+ -+RCT_EXTERN inline void RCTSwitchHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"setValue"]) { -+#if RCT_DEBUG -+ if ([args count] != 1) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"Switch", commandName, (int)[args count], 1); -+ return; -+ } -+#endif -+ -+ NSObject *arg0 = args[0]; -+#if RCT_DEBUG -+ if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"Switch", commandName, @"1st")) { -+ return; -+ } -+#endif -+ BOOL value = [(NSNumber *)arg0 boolValue]; -+ -+ [componentView setValue:value]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"Switch", commandName); -+#endif -+} -+ -+@protocol RCTAndroidSwitchViewProtocol -+- (void)setNativeValue:(BOOL)value; -+@end -+ -+RCT_EXTERN inline void RCTAndroidSwitchHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"setNativeValue"]) { -+#if RCT_DEBUG -+ if ([args count] != 1) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"AndroidSwitch", commandName, (int)[args count], 1); -+ return; -+ } -+#endif -+ -+ NSObject *arg0 = args[0]; -+#if RCT_DEBUG -+ if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSNumber class], @"boolean", @"AndroidSwitch", commandName, @"1st")) { -+ return; -+ } -+#endif -+ BOOL value = [(NSNumber *)arg0 boolValue]; -+ -+ [componentView setNativeValue:value]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"AndroidSwitch", commandName); -+#endif -+} -+ -+@protocol RCTTraceUpdateOverlayViewProtocol -+- (void)draw:(NSString *)overlays; -+@end -+ -+RCT_EXTERN inline void RCTTraceUpdateOverlayHandleCommand( -+ id componentView, -+ NSString const *commandName, -+ NSArray const *args) -+{ -+ if ([commandName isEqualToString:@"draw"]) { -+#if RCT_DEBUG -+ if ([args count] != 1) { -+ RCTLogError(@"%@ command %@ received %d arguments, expected %d.", @"TraceUpdateOverlay", commandName, (int)[args count], 1); -+ return; -+ } -+#endif -+ -+ NSObject *arg0 = args[0]; -+#if RCT_DEBUG -+ if (!RCTValidateTypeOfViewCommandArgument(arg0, [NSString class], @"string", @"TraceUpdateOverlay", commandName, @"1st")) { -+ return; -+ } -+#endif -+ NSString * overlays = (NSString *)arg0; -+ -+ [componentView draw:overlays]; -+ return; -+} -+ -+#if RCT_DEBUG -+ RCTLogError(@"%@ received command %@, which is not a supported command.", @"TraceUpdateOverlay", commandName); -+#endif -+} -+ -+@protocol RCTModalHostViewViewProtocol -+ -+@end -+ -+NS_ASSUME_NONNULL_END -\ No newline at end of file -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp -new file mode 100644 -index 0000000..d9a2760 ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp -@@ -0,0 +1,26 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateShadowNodeCpp.js -+ */ -+ -+#include -+ -+namespace facebook { -+namespace react { -+ -+extern const char AndroidHorizontalScrollContentViewComponentName[] = "AndroidHorizontalScrollContentView"; -+extern const char AndroidSwipeRefreshLayoutComponentName[] = "AndroidSwipeRefreshLayout"; -+extern const char PullToRefreshViewComponentName[] = "PullToRefreshView"; -+extern const char AndroidDrawerLayoutComponentName[] = "AndroidDrawerLayout"; -+extern const char ActivityIndicatorViewComponentName[] = "ActivityIndicatorView"; -+extern const char UnimplementedNativeViewComponentName[] = "UnimplementedNativeView"; -+extern const char SwitchComponentName[] = "Switch"; -+extern const char TraceUpdateOverlayComponentName[] = "TraceUpdateOverlay"; -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.h -new file mode 100644 -index 0000000..a5874dc ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/ShadowNodes.h -@@ -0,0 +1,111 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateShadowNodeH.js -+ */ -+ -+#pragma once -+ -+#include -+#include -+#include -+#include -+#include -+ -+namespace facebook { -+namespace react { -+ -+JSI_EXPORT extern const char AndroidHorizontalScrollContentViewComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using AndroidHorizontalScrollContentViewShadowNode = ConcreteViewShadowNode< -+ AndroidHorizontalScrollContentViewComponentName, -+ AndroidHorizontalScrollContentViewProps, -+ AndroidHorizontalScrollContentViewEventEmitter, -+ AndroidHorizontalScrollContentViewState>; -+ -+JSI_EXPORT extern const char AndroidSwipeRefreshLayoutComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using AndroidSwipeRefreshLayoutShadowNode = ConcreteViewShadowNode< -+ AndroidSwipeRefreshLayoutComponentName, -+ AndroidSwipeRefreshLayoutProps, -+ AndroidSwipeRefreshLayoutEventEmitter, -+ AndroidSwipeRefreshLayoutState>; -+ -+JSI_EXPORT extern const char PullToRefreshViewComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using PullToRefreshViewShadowNode = ConcreteViewShadowNode< -+ PullToRefreshViewComponentName, -+ PullToRefreshViewProps, -+ PullToRefreshViewEventEmitter, -+ PullToRefreshViewState>; -+ -+JSI_EXPORT extern const char AndroidDrawerLayoutComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using AndroidDrawerLayoutShadowNode = ConcreteViewShadowNode< -+ AndroidDrawerLayoutComponentName, -+ AndroidDrawerLayoutProps, -+ AndroidDrawerLayoutEventEmitter, -+ AndroidDrawerLayoutState>; -+ -+JSI_EXPORT extern const char ActivityIndicatorViewComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using ActivityIndicatorViewShadowNode = ConcreteViewShadowNode< -+ ActivityIndicatorViewComponentName, -+ ActivityIndicatorViewProps, -+ ActivityIndicatorViewEventEmitter, -+ ActivityIndicatorViewState>; -+ -+JSI_EXPORT extern const char UnimplementedNativeViewComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using UnimplementedNativeViewShadowNode = ConcreteViewShadowNode< -+ UnimplementedNativeViewComponentName, -+ UnimplementedNativeViewProps, -+ UnimplementedNativeViewEventEmitter, -+ UnimplementedNativeViewState>; -+ -+JSI_EXPORT extern const char SwitchComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using SwitchShadowNode = ConcreteViewShadowNode< -+ SwitchComponentName, -+ SwitchProps, -+ SwitchEventEmitter, -+ SwitchState>; -+ -+JSI_EXPORT extern const char TraceUpdateOverlayComponentName[]; -+ -+/* -+ * `ShadowNode` for component. -+ */ -+using TraceUpdateOverlayShadowNode = ConcreteViewShadowNode< -+ TraceUpdateOverlayComponentName, -+ TraceUpdateOverlayProps, -+ TraceUpdateOverlayEventEmitter, -+ TraceUpdateOverlayState>; -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.cpp b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.cpp -new file mode 100644 -index 0000000..3b5a0f5 ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.cpp -@@ -0,0 +1,18 @@ -+ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateStateCpp.js -+ */ -+#include -+ -+namespace facebook { -+namespace react { -+ -+ -+ -+} // namespace react -+} // namespace facebook -diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.h b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.h -new file mode 100644 -index 0000000..29ac2df ---- /dev/null -+++ b/node_modules/react-native/ReactCommon/react/renderer/components/rncore/States.h -@@ -0,0 +1,141 @@ -+/** -+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). -+ * -+ * Do not edit this file as changes may cause incorrect behavior and will be lost -+ * once the code is regenerated. -+ * -+ * @generated by codegen project: GenerateStateH.js -+ */ -+#pragma once -+ -+#ifdef ANDROID -+#include -+#include -+#include -+#endif -+ -+namespace facebook { -+namespace react { -+ -+class AndroidHorizontalScrollContentViewState { -+public: -+ AndroidHorizontalScrollContentViewState() = default; -+ -+#ifdef ANDROID -+ AndroidHorizontalScrollContentViewState(AndroidHorizontalScrollContentViewState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class AndroidSwipeRefreshLayoutState { -+public: -+ AndroidSwipeRefreshLayoutState() = default; -+ -+#ifdef ANDROID -+ AndroidSwipeRefreshLayoutState(AndroidSwipeRefreshLayoutState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class PullToRefreshViewState { -+public: -+ PullToRefreshViewState() = default; -+ -+#ifdef ANDROID -+ PullToRefreshViewState(PullToRefreshViewState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class AndroidDrawerLayoutState { -+public: -+ AndroidDrawerLayoutState() = default; -+ -+#ifdef ANDROID -+ AndroidDrawerLayoutState(AndroidDrawerLayoutState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class ActivityIndicatorViewState { -+public: -+ ActivityIndicatorViewState() = default; -+ -+#ifdef ANDROID -+ ActivityIndicatorViewState(ActivityIndicatorViewState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class UnimplementedNativeViewState { -+public: -+ UnimplementedNativeViewState() = default; -+ -+#ifdef ANDROID -+ UnimplementedNativeViewState(UnimplementedNativeViewState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class SwitchState { -+public: -+ SwitchState() = default; -+ -+#ifdef ANDROID -+ SwitchState(SwitchState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+class TraceUpdateOverlayState { -+public: -+ TraceUpdateOverlayState() = default; -+ -+#ifdef ANDROID -+ TraceUpdateOverlayState(TraceUpdateOverlayState const &previousState, folly::dynamic data){}; -+ folly::dynamic getDynamic() const { -+ return {}; -+ }; -+ MapBuffer getMapBuffer() const { -+ return MapBufferBuilder::EMPTY(); -+ }; -+#endif -+}; -+ -+} // namespace react -+} // namespace facebook -\ No newline at end of file -diff --git a/node_modules/react-native/index.js b/node_modules/react-native/index.js -index 7149c64..6939b48 100644 ---- a/node_modules/react-native/index.js -+++ b/node_modules/react-native/index.js -@@ -380,43 +380,15 @@ module.exports = { - }, - // Deprecated Prop Types - get ColorPropType(): $FlowFixMe { -- console.error( -- 'ColorPropType will be removed from React Native, along with all ' + -- 'other PropTypes. We recommend that you migrate away from PropTypes ' + -- 'and switch to a type system like TypeScript. If you need to ' + -- 'continue using ColorPropType, migrate to the ' + -- "'deprecated-react-native-prop-types' package.", -- ); - return require('deprecated-react-native-prop-types').ColorPropType; - }, - get EdgeInsetsPropType(): $FlowFixMe { -- console.error( -- 'EdgeInsetsPropType will be removed from React Native, along with all ' + -- 'other PropTypes. We recommend that you migrate away from PropTypes ' + -- 'and switch to a type system like TypeScript. If you need to ' + -- 'continue using EdgeInsetsPropType, migrate to the ' + -- "'deprecated-react-native-prop-types' package.", -- ); - return require('deprecated-react-native-prop-types').EdgeInsetsPropType; - }, - get PointPropType(): $FlowFixMe { -- console.error( -- 'PointPropType will be removed from React Native, along with all ' + -- 'other PropTypes. We recommend that you migrate away from PropTypes ' + -- 'and switch to a type system like TypeScript. If you need to ' + -- 'continue using PointPropType, migrate to the ' + -- "'deprecated-react-native-prop-types' package.", -- ); - return require('deprecated-react-native-prop-types').PointPropType; - }, - get ViewPropTypes(): $FlowFixMe { -- console.error( -- 'ViewPropTypes will be removed from React Native, along with all ' + -- 'other PropTypes. We recommend that you migrate away from PropTypes ' + -- 'and switch to a type system like TypeScript. If you need to ' + -- 'continue using ViewPropTypes, migrate to the ' + -- "'deprecated-react-native-prop-types' package.", -- ); - return require('deprecated-react-native-prop-types').ViewPropTypes; - }, - }; -diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env -new file mode 100644 -index 0000000..361f5fb ---- /dev/null -+++ b/node_modules/react-native/scripts/.packager.env -@@ -0,0 +1 @@ -+export RCT_METRO_PORT=8081 diff --git a/src/features/Cart/screens/CartScreen.js b/src/features/Cart/screens/CartScreen.js index f916757..be26225 100644 --- a/src/features/Cart/screens/CartScreen.js +++ b/src/features/Cart/screens/CartScreen.js @@ -458,7 +458,7 @@ const CartScreen = ({ navigation, route }) => { ); return ( - + { ); }; +const LocationPickerStack = ({ route }) => { + const { info } = route.params; + + return ( + + + + ); +}; const BootScreen = ({ route }) => { const { info } = route.params; @@ -75,6 +86,7 @@ const BootScreen = ({ route }) => { + ); }; diff --git a/src/features/Shared/LocationPickerScreen.js b/src/features/Shared/LocationPickerScreen.js new file mode 100644 index 0000000..d8bd884 --- /dev/null +++ b/src/features/Shared/LocationPickerScreen.js @@ -0,0 +1,9 @@ +import React, { useCallback, useEffect, useState } from 'react'; +import { RefreshControl, ScrollView, View } from 'react-native'; +import tailwind from 'tailwind'; + +const LocationPickerScreen = ({ navigation, route }) => { + return ; +}; + +export default LocationPickerScreen; diff --git a/src/interface/headers/NetworkHeader.js b/src/interface/headers/NetworkHeader.js index bef1b0d..a46797d 100644 --- a/src/interface/headers/NetworkHeader.js +++ b/src/interface/headers/NetworkHeader.js @@ -1,6 +1,6 @@ import { Collection } from '@fleetbase/sdk'; import { Category, Network } from '@fleetbase/storefront'; -import { faArrowLeft } from '@fortawesome/free-solid-svg-icons'; +import { faArrowLeft, faMapMarkerAlt } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome'; import { useNavigation } from '@react-navigation/native'; import { useLocale, useMountedState } from 'hooks'; @@ -44,7 +44,6 @@ const NetworkHeader = (props) => { const isMounted = useMountedState(); const network = new Network(info, storefront.getAdapter()); - const [locale] = useLocale(); const [searchQuery, setSearchQuery] = useState(''); const [isLoading, setIsLoading] = useState(false); @@ -60,7 +59,8 @@ const NetworkHeader = (props) => { + style={[tailwind('z-50'), { paddingTop: insets.top }, props.style, backgroundImageStyle ?? config('ui.headerComponent.backgroundImageStyle')]} + > @@ -77,7 +77,13 @@ const NetworkHeader = (props) => { {config('ui.headerComponent.displayLocalePicker') === true && config('app.enableTranslations') === true && ( )} - {config('ui.headerComponent.displayLocationPicker') === true && } + {/* {config('ui.headerComponent.displayLocationPicker') === true && } */} + {config('ui.headerComponent.displayLocationPicker') === true && ( + navigation.navigate('LocationPickerStack')} style={tailwind('flex flex-row items-center rounded-full bg-blue-50 px-3 py-2')}> + + {translate('components.interface.LocationPicker.selectLocation')} + + )}