Skip to content

feat(session-replay-react-native): consume iOS SDKs with SPM - #1952

Draft
aliaksandr-kazarez wants to merge 1 commit into
mainfrom
aliaksandrkazarez/sdkrn-64-ga-switch-ios-session-replay-dependency-from-cocoapods-to
Draft

feat(session-replay-react-native): consume iOS SDKs with SPM#1952
aliaksandr-kazarez wants to merge 1 commit into
mainfrom
aliaksandrkazarez/sdkrn-64-ga-switch-ios-session-replay-dependency-from-cocoapods-to

Conversation

@aliaksandr-kazarez

Copy link
Copy Markdown
Contributor

Summary

  • replace the standalone iOS Session Replay and Core pod dependencies with React Native SPM dependencies
  • require dynamic framework linkage for iOS and preserve Fabric module visibility
  • update the example project and lock SPM package resolution

Test plan

  • build @amplitude/session-replay-react-native
  • run standalone package unit tests (98 tests)
  • install iOS dependencies through SPM
  • build the existing React Native 0.77 example for an iOS simulator
  • build and launch disposable React Native / Expo version matrix

Linear: https://linear.app/amplitude/issue/SDKRN-64/ga-switch-ios-session-replay-dependency-from-cocoapods-to-spm


Posted automatically with Cursor. LLMs make mistakes — please verify before acting.

Replace native CocoaPods dependencies with React Native's SPM bridge.
Configure dynamic frameworks so standalone Session Replay follows the iOS SDK distribution path.
@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

SDKRN-64

s.dependency 'AmplitudeSessionReplay', '>=0.11.1'
s.dependency 'AmplitudeCore', '>=1.4.2'
unless defined?(spm_dependency)
raise "[AmplitudeSessionReplayReactNative] Swift Package Manager dependencies require React Native >= 0.75."

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

what's the min RN version we support?

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.

1 participant