Skip to content

Conversation

@Jon-edge
Copy link
Collaborator

@Jon-edge Jon-edge commented Jan 16, 2026

Package is not being maintained as of 2023. A forked branch and PR addresses iOS 18+ support: oblador/react-native-store-review@575f492

  • The dependency now points to the above fork/SHA
  • Patched to add the missing Swifth module configuration to the podspec, and to import using angle brackets in the swift code.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Note

Resolves in‑app review issues on iOS 18+ by updating and patching the review module.

  • Point react-native-store-review to a forked commit with iOS 18+ support and update yarn.lock/Podfile.lock
  • Add patch (patch-package) to set DEFINES_MODULE and SWIFT_VERSION in podspec and change iOS import to module form
  • Update CHANGELOG.md with “fixed: In-app review for iOS 18+”

Written by Cursor Bugbot for commit 4fc90ab. This will update automatically on new commits. Configure here.


Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99b06a4070

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +23 to +24
-#import "RNStoreReview-Swift.h"
+#import <RNStoreReview/RNStoreReview-Swift.h>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Merge pod_target_xcconfig for new arch

When RCT_NEW_ARCH_ENABLED=1, RNStoreReview.podspec later assigns s.pod_target_xcconfig inside the new-architecture guard, which overwrites the new DEFINES_MODULE/SWIFT_VERSION hash added here. That means the module isn’t defined in new-arch builds, but the Objective‑C++ file now uses module-style import (<RNStoreReview/RNStoreReview-Swift.h>), so the Swift header won’t be found and the build can fail. Consider merging the hashes or adding those keys to the new-arch s.pod_target_xcconfig block so the module import works in both architectures.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feta builds work so this should be fine?

Package is not being maintained as of 2023. A forked branch and PR addresses iOS 18+ support: oblador/react-native-store-review@575f492
- The dependency now points to the above fork/SHA
- Patched to add the missing Swifth module configuration to the podspec, and to import using angle brackets in the swift code.
@Jon-edge Jon-edge force-pushed the jon/fix/ios-store-review branch from 99b06a4 to 4fc90ab Compare January 17, 2026 06:36
@Jon-edge Jon-edge merged commit 4d12107 into develop Jan 17, 2026
3 of 4 checks passed
@Jon-edge Jon-edge deleted the jon/fix/ios-store-review branch January 17, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants