diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 634aeca6465b..1ebfc6bb1b62 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1236,7 +1236,7 @@ PODS: - React-Codegen - React-Core - ReactCommon/turbomodule/core - - react-native-geolocation (3.0.6): + - react-native-geolocation (3.2.1): - glog - hermes-engine - RCT-Folly (= 2022.05.16.00) @@ -2512,7 +2512,7 @@ SPEC CHECKSUMS: react-native-cameraroll: 95ce0d1a7d2d1fe55bf627ab806b64de6c3e69e9 react-native-config: 5ce986133b07fc258828b20b9506de0e683efc1c react-native-document-picker: 8532b8af7c2c930f9e202aac484ac785b0f4f809 - react-native-geolocation: dcc37809bc117ffdb5946fecc127d62319ccd4a9 + react-native-geolocation: c1c21a8cda4abae6724a322458f64ac6889b8c2b react-native-image-picker: f8a13ff106bcc7eb00c71ce11fdc36aac2a44440 react-native-key-command: 74d18ad516037536c2f671ef0914bcce7739b2f5 react-native-launch-arguments: 5f41e0abf88a15e3c5309b8875d6fd5ac43df49d diff --git a/package-lock.json b/package-lock.json index 697736a153b7..203e062de680 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@react-native-async-storage/async-storage": "1.21.0", "@react-native-camera-roll/camera-roll": "7.4.0", "@react-native-clipboard/clipboard": "^1.13.2", - "@react-native-community/geolocation": "^3.0.6", + "@react-native-community/geolocation": "3.2.1", "@react-native-community/netinfo": "11.2.1", "@react-native-firebase/analytics": "^12.3.0", "@react-native-firebase/app": "^12.3.0", @@ -8790,8 +8790,12 @@ "license": "MIT" }, "node_modules/@react-native-community/geolocation": { - "version": "3.0.6", - "license": "MIT", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@react-native-community/geolocation/-/geolocation-3.2.1.tgz", + "integrity": "sha512-/+HNzuRl4UCMma7KK+KYL8k2nxAGuW+DGxqmqfpiqKBlCkCUbuFHaZZdqVD6jpsn9r/ghe583ECLmd9SV9I4Bw==", + "engines": { + "node": ">=18.0.0" + }, "peerDependencies": { "react": "*", "react-native": "*" diff --git a/package.json b/package.json index 8b17cf4daf27..43a3ed8cae6a 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@react-native-async-storage/async-storage": "1.21.0", "@react-native-camera-roll/camera-roll": "7.4.0", "@react-native-clipboard/clipboard": "^1.13.2", - "@react-native-community/geolocation": "^3.0.6", + "@react-native-community/geolocation": "3.2.1", "@react-native-community/netinfo": "11.2.1", "@react-native-firebase/analytics": "^12.3.0", "@react-native-firebase/app": "^12.3.0", diff --git a/patches/@react-native-community+geolocation+3.1.0.patch b/patches/@react-native-community+geolocation+3.1.0.patch deleted file mode 100644 index 5afa0b8e0897..000000000000 --- a/patches/@react-native-community+geolocation+3.1.0.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/node_modules/@react-native-community/geolocation/react-native-geolocation.podspec b/node_modules/@react-native-community/geolocation/react-native-geolocation.podspec -index a319e73..c1ea11c 100644 ---- a/node_modules/@react-native-community/geolocation/react-native-geolocation.podspec -+++ b/node_modules/@react-native-community/geolocation/react-native-geolocation.podspec -@@ -1,8 +1,6 @@ - require 'json' - - package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) --folly_version = '2021.07.22.00' --folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32' - - Pod::Spec.new do |s| - s.name = "react-native-geolocation" -@@ -17,20 +15,11 @@ Pod::Spec.new do |s| - s.source = { :git => "https://github.com/react-native-community/react-native-geolocation.git", :tag => "v#{s.version}" } - s.source_files = "ios/**/*.{h,m,mm}" - -- s.dependency 'React-Core' - s.frameworks = 'CoreLocation' - -- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then -- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" -- s.pod_target_xcconfig = { -- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"", -- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" -- } -- -- s.dependency "React-Codegen" -- s.dependency "RCT-Folly", folly_version -- s.dependency "RCTRequired" -- s.dependency "RCTTypeSafety" -- s.dependency "ReactCommon/turbomodule/core" -+ if defined?(install_modules_dependencies()) != nil -+ install_modules_dependencies(s) -+ else -+ s.dependency "React-Core" - end - end