Skip to content

feat: Add ComponentsClientSessionBridge for RN interop (ACC-7224)#1731

Merged
OnurVar merged 2 commits intobn/feature/checkout-componentsfrom
ov/feat/ACC-7224-client-session-bridge
May 4, 2026
Merged

feat: Add ComponentsClientSessionBridge for RN interop (ACC-7224)#1731
OnurVar merged 2 commits intobn/feature/checkout-componentsfrom
ov/feat/ACC-7224-client-session-bridge

Conversation

@OnurVar
Copy link
Copy Markdown
Contributor

@OnurVar OnurVar commented May 2, 2026

Adds ComponentsClientSessionBridge to expose getClientSession() and getCheckoutModules() to the RN bridge via @_spi(PrimerInternal).

Stacked on M1 (#1727ComponentsBillingAddressBridge).

Replaces the public-API approach proposed by #1714 + #1715 (both will be closed). Mirrors the analytics bridge precedent (#1668) and the M1 billing-address bridge (#1727).

Test plan

  • Unit tests in ComponentsClientSessionBridgeTests.swift — 8/8 passing
  • E2E verified in RN example app on iPhone simulator: bridge fires on start() and on subsequent session updates; checkout completes

Base automatically changed from ov/feat/ACC-7169-billing-address-bridge to bn/feature/checkout-components May 4, 2026 20:51
@OnurVar OnurVar merged commit 3006d5e into bn/feature/checkout-components May 4, 2026
21 of 24 checks passed
@OnurVar OnurVar deleted the ov/feat/ACC-7224-client-session-bridge branch May 4, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants