Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[React Native] - Add New Architecture support #168

Open
duraz0rz opened this issue Aug 15, 2024 · 4 comments
Open

[React Native] - Add New Architecture support #168

duraz0rz opened this issue Aug 15, 2024 · 4 comments
Labels
ReactNative Platform/Framework

Comments

@duraz0rz
Copy link

Platform + Version
iOS 16 (possibly Android, too)

SDK Version
3.3.2

Framework
Expo 51, React Native 0.74 + New Architecture, React Navigation

Describe the bug
The React Native Pendo SDK does not work when running a RN app with New Architecture enabled.

On app startup, I get a blank screen with the following messages in the console:

iOS Bundled 6775ms node_modules/expo/AppEntry.js (2160 modules)
 (NOBRIDGE) LOG  Bridgeless mode is enabled
 (NOBRIDGE) INFO  [rn-pendo-sdk]  React Navigation Init.
 (NOBRIDGE) INFO  [rn-pendo-sdk]  State must not be null.
 any analytics on this screen would be ignored
 please refer to new installation instruction

Upon restarting the app, I can see my home page, but I get the following output instead:

Debug: Opening JavaScript inspector in the browser...
✔ Dev tools (native only) › Reload app
› Press ? │ show all commands
iOS Bundled 224ms node_modules/expo/AppEntry.js (1 module)
 (NOBRIDGE) LOG  Bridgeless mode is enabled
 (NOBRIDGE) INFO  [rn-pendo-sdk]  React Navigation Init.
 (NOBRIDGE) WARN  [rn-pendo-sdk]  analyze (simple flow) screenId:HomeScreen. Original error: findScreenContainerRootTag - screenContainer tag not found.

The Pendo SDK does work under the legacy architecture, but the New Architecture will be on by default in the near future given it is currently in Beta and both Expo and React Native are doing a lot of work to get there.

Additional context
https://github.com/reactwg/react-native-new-architecture#guides

@MikePendo MikePendo added ReactNative Platform/Framework bug Something isn't working and removed bug Something isn't working labels Aug 15, 2024
@DavidPendo
Copy link
Contributor

Thanks, @duraz0rz. It is on our roadmap, and we will update you once we provide new Architecture support.

@Dr0pG
Copy link

Dr0pG commented Nov 25, 2024

@DavidPendo Do you have an estimate of when it will be released? Thank you!

@ErickMaeda
Copy link

Hello @DavidPendo 👋

Can you please provide an ETA for the feature?

@DavidPendo
Copy link
Contributor

Hi @Dr0pG and @ErickMaeda! Sorry for the delay. We are considering this very seriously and we are going to start working on this very soon... However, I'm sorry I can't give you any concrete estimations... Roughly it will be around the RN 0.77 release. But again it depends on other plans and road maps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReactNative Platform/Framework
Projects
None yet
Development

No branches or pull requests

5 participants