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

Updates Android in-app messaging integration to use the React Native listener.

  • Replace NativeMessagingInAppModuleImpl.inAppEventListener with ReactInAppEventListener.instance in Android SDK initializer configuration
  • Update corresponding Android snapshot imports/usages in patchPluginNativeCode tests (complete and minimal variants)

Written by Cursor Bugbot for commit af258be. 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
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