braze-react-native-sdk icon indicating copy to clipboard operation
braze-react-native-sdk copied to clipboard

[Feature]: New architecture and bridgeless support

Open brentvatne opened this issue 11 months ago • 2 comments

What problem are you facing?

Hi there! I'm working on supporting the roll out of the new architecture + bridgeless with Expo and Meta, and as part of that we identified which libraries are depended on by the largest apps or the most popular native libraries on EAS Build to help prioritize which libraries to investigate. @braze/react-native-sdk came up on that list. See the list on Google Sheets (request edit access if you'd like to update the status of @braze/react-native-sdk after testing, or if you prefer to report back here on this issue it's fine too).

We want to start recommending folks try out the new architecture in the next release, react-native 0.74 / Expo SDK 51. Ideally we can get the ecosystem ready to switch over to the new architecture within the next few releases. So, we'll have from now until 0.74 release (before May) to give Meta feedback on anything that might not be working as expected with the new arch/bridgeless enabled.

Folks at Meta would really appreciate it if you could test your libraries against the latest release and report any issues that you find. This new version enables an interop layer by default, so hopefully many things will just work, but the more off of the beaten path of a simple module / view that a library goes the more likely it is to encounter possible issues ;) The following gist includes a step by step process for how to test your library and report issues: https://gist.github.com/cipolleschi/82b7a9561b8861330efabbd3eb08c6f5.

Workarounds

None

Ideal Solution

The library supports new architecture and bridgeless in React Native 0.74

Other Information

No response

brentvatne avatar Mar 13 '24 21:03 brentvatne

Hey @brentvatne, thanks for the proactiveness in raising this to us! We have internally verified that our React Native SDK is compatible with both architectures in 0.74 against rc-1, so we have reason to believe that it should be compatible with the newer release candidates, but I'll check back and let you know. I'll also take a peek at Expo 51 compatibility as well. Thanks!

jerielng avatar Mar 13 '24 21:03 jerielng

thank you @jerielng!

it may be a bit early to test against expo sdk 51, but we'll have a canary release soon that you can verify against!

edit: I've also added you as an editor to the spreadsheet I linked to, feel free to update it if the results change in your re-testing

brentvatne avatar Mar 14 '24 20:03 brentvatne

Closing this out with the release of Expo SDK 51 - we have been able to confirm that the Braze Expo plugin and React Native SDK are compatible with the latest versions. Thanks for the alert!

jerielng avatar Jul 31 '24 15:07 jerielng

@jerielng - great, thank you!

brentvatne avatar Jul 31 '24 22:07 brentvatne