fix(react-native): use EAS versions for iOS source maps - #4602
Merged
Conversation
12 tasks
marandaneto
marked this pull request as ready for review
August 22, 2026 19:32
marandaneto
marked this pull request as draft
August 22, 2026 19:35
Contributor
|
Reviews (1): Last reviewed commit: "fix(react-native): skip invalid dSYM upl..." | Re-trigger Greptile |
Contributor
Contributor
|
Size Change: 0 B Total Size: 20 MB ℹ️ View Unchanged
|
5 tasks
marandaneto
marked this pull request as ready for review
August 22, 2026 20:21
Contributor
|
Reviews (2): Last reviewed commit: "refactor(react-native): move native dSYM..." | Re-trigger Greptile |
22 tasks
turnipdabeets
approved these changes
Aug 24, 2026
23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Expo and EAS can write the shipped iOS version and build number to the source Info.plist without updating
MARKETING_VERSIONorCURRENT_PROJECT_VERSION. PostHog then uploads Hermes source maps under a different release from the one reported by the native SDK.This is the React Native part of #4574. Native dSYM readiness and native release version handling shipped in posthog-ios 3.69.10 through PostHog/posthog-ios#776. The React Native plugin now requires that version through PostHog/posthog-js#4624.
Changes
CFBundleShortVersionStringandCFBundleVersionfrom the sourceINFOPLIST_FILEwhen uploading Hermes source maps.@posthog/react-native-plugin2.4.2 or later when the optional native plugin is installed.Release info Sub-libraries affected
Libraries affected
Checklist
If releasing new changes
pnpm changesetto generate a changeset file🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Pi implemented and tested the change. Native dSYM handling lives in the shared posthog-ios upload script so native iOS and React Native builds use the same behavior. Shared Info.plist handling in posthog-cli is tracked in PostHog/posthog#87775.