Skip to content

Conversation

@mrehan27
Copy link
Contributor

@mrehan27 mrehan27 commented Dec 24, 2025

Summary

Removes support for React Native's old architecture from Expo plugin to align with latest version of React Native. This simplifies the codebase and ensures full compatibility with latest SDK tooling and TurboModules based architecture.

Changes

  • Updated the plugin to use React Native 6.0.0 which includes full support for TurboModules and the new architecture
  • Updated the native Android SDK dependency to include support for lead capture via anonymous messages

Notes

  • ⚠️ This completely removes support for old architecture to reduce codebase complexity and align the SDK with React Native's roadmap and direction
  • Customers still using old React Native architecture will be affected and must upgrade to new architecture to continue using the SDK
  • Customers already using the new architecture will not be impacted
  • No changes to public JavaScript APIs, this is entirely internal to native module setup

References


Note

  • Android native initializer: In CustomerIOSDKInitializer.kt, replace NativeMessagingInAppModuleImpl.inAppEventListener with ReactInAppEventListener.instance and update related imports; snapshots adjusted accordingly.
  • CI compatibility workflow: Remove Expo 53 from validate-plugin-compatibility.yml matrix; validate against Expo 54 and latest for Android and iOS (APN/FCM).

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

@mrehan27 mrehan27 self-assigned this Dec 24, 2025
@mrehan27 mrehan27 requested a review from a team as a code owner December 24, 2025 11:09
Copy link
Contributor

@mahmoud-elmorabea mahmoud-elmorabea left a comment

Choose a reason for hiding this comment

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

💯

@mahmoud-elmorabea mahmoud-elmorabea requested a review from a team December 24, 2025 17:05
@mrehan27 mrehan27 changed the title feat: remove React Native old architecture support feat!: remove React Native old architecture support Jan 14, 2026
@mahmoud-elmorabea mahmoud-elmorabea force-pushed the feature/remove-old-arch-support branch from b37df69 to af258be Compare January 14, 2026 14:26
@mahmoud-elmorabea mahmoud-elmorabea force-pushed the feature/remove-old-arch-support branch from af258be to 51360b8 Compare January 14, 2026 15:08
@mahmoud-elmorabea mahmoud-elmorabea force-pushed the feature/remove-old-arch-support branch from e2a5ea0 to 42f00ee Compare January 16, 2026 15:36
@mahmoud-elmorabea mahmoud-elmorabea merged commit 0f96132 into main Jan 20, 2026
35 checks passed
@mahmoud-elmorabea mahmoud-elmorabea deleted the feature/remove-old-arch-support branch January 20, 2026 08:59
github-actions bot pushed a commit that referenced this pull request Jan 20, 2026
## [3.0.0](2.11.0...3.0.0) (2026-01-20)

### ⚠ BREAKING CHANGES

* remove React Native old architecture support (#323)

### Features

* remove React Native old architecture support ([#323](#323)) ([0f96132](0f96132))
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.

4 participants