diff --git a/CHANGELOG.md b/CHANGELOG.md index 12f533b1977..c52f218ee4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - fixed: ramps: Various Infinite UI/UX issues - fixed: Search keyboard not dismissing when submitting search - fixed: Auto-correct not disabled for search input +- fixed: In-app review for iOS 18+ ## 4.41.1 (2025-12-29) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index b39e12acf13..7c8c02d3230 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -3475,7 +3475,7 @@ SPEC CHECKSUMS: RNSentry: 19b4ee2a31886bcc5a64698a27cf8495cb8f5d17 RNShare: 6300b941668273d502ecee9122cade0d5ea966bd RNSound: cfeaf6c6a734303c887e04b946cbb7e294bff123 - RNStoreReview: 8b47d208282c23296d2466a488a8d9ca1979d79b + RNStoreReview: b3cb7df1405d56afd51301ada4660f6c9b970055 RNSVG: ca807495c5219c05c747254200b89a4e3078db31 RNVectorIcons: f1bc9e04b6f67ec09ea54e6f092e75a9e205c1d7 RNWorklets: b1faafefb82d9f29c4018404a0fb33974b494a7b diff --git a/package.json b/package.json index 09996d9db4e..9f2ec935f0f 100644 --- a/package.json +++ b/package.json @@ -164,7 +164,7 @@ "react-native-securerandom": "^1.0.1", "react-native-share": "^12.0.11", "react-native-sound": "^0.12.0", - "react-native-store-review": "^0.4.3", + "react-native-store-review": "https://github.com/dylancom/react-native-store-review#575f49229de2439095205b3cd17babea31972c95", "react-native-svg": "^15.12.1", "react-native-vector-icons": "^10.1.0", "react-native-vision-camera": "^4.7.2", diff --git a/patches/react-native-store-review+0.4.3.patch b/patches/react-native-store-review+0.4.3.patch new file mode 100644 index 00000000000..187e35681c8 --- /dev/null +++ b/patches/react-native-store-review+0.4.3.patch @@ -0,0 +1,27 @@ +diff --git a/node_modules/react-native-store-review/RNStoreReview.podspec b/node_modules/react-native-store-review/RNStoreReview.podspec +index 1234567..abcdefg 100644 +--- a/node_modules/react-native-store-review/RNStoreReview.podspec ++++ b/node_modules/react-native-store-review/RNStoreReview.podspec +@@ -14,6 +14,10 @@ Pod::Spec.new do |s| + s.preserve_paths = "**/*.js" + s.ios.framework = 'StoreKit' + s.requires_arc = true ++ s.pod_target_xcconfig = { ++ 'DEFINES_MODULE' => 'YES', ++ 'SWIFT_VERSION' => '5.0' ++ } + + s.dependency "React-Core" + +diff --git a/node_modules/react-native-store-review/ios/RNStoreReview.mm b/node_modules/react-native-store-review/ios/RNStoreReview.mm +index 2345678..bcdefgh 100644 +--- a/node_modules/react-native-store-review/ios/RNStoreReview.mm ++++ b/node_modules/react-native-store-review/ios/RNStoreReview.mm +@@ -1,6 +1,6 @@ + #import "RNStoreReview.h" + +-#import "RNStoreReview-Swift.h" ++#import + + @implementation RNStoreReview + diff --git a/yarn.lock b/yarn.lock index 940868cf792..7f16aae47c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16237,10 +16237,9 @@ react-native-sound@^0.12.0: resolved "https://registry.yarnpkg.com/react-native-sound/-/react-native-sound-0.12.0.tgz#c1502e7760efa7ca06c38b8ae0435518eae33ef8" integrity sha512-uOtM/PJ8+xmuXwgS2WMYEcokE/oFE8MV6glZHmB5RYHZ+yzD/0Z7cDL+QJpetTYBbEFOirfcE42o6YfPMJfJfg== -react-native-store-review@^0.4.3: +"react-native-store-review@https://github.com/dylancom/react-native-store-review#575f49229de2439095205b3cd17babea31972c95": version "0.4.3" - resolved "https://registry.yarnpkg.com/react-native-store-review/-/react-native-store-review-0.4.3.tgz#a524374b1a897b1de1b05d6257640296f1693e3c" - integrity sha512-RSQ6vx2j4p41GwTqNv2VV7yold62j5qDbGEBAjFi6gkXMrMpxFMg+82FPjbh6012tqv6Ebzwfqw6S4m4d7sddw== + resolved "https://github.com/dylancom/react-native-store-review#575f49229de2439095205b3cd17babea31972c95" react-native-svg-transformer@^1.5.1: version "1.5.1"