-
Notifications
You must be signed in to change notification settings - Fork 8
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
Compilation error for Android on latest React Native 0.76 with new architecture enabled #185
Comments
Hey @adrianso Appreciate you providing the sample repo and steps to reproduce. We currently don't support turbo modules/new arch on react native. Could you please talk to the importance of us supporting new arch in your setup so that we can prioritize this accordingly. Thanks! |
Hi @ajaysubra, thanks for replying to me so quickly. Support for the new arch is very important for my (and many of your other client's) projects. It is now the default setting for all new React Native projects since version 0.76. New arch unleashes a whole lot of new features in React 18, e.g. Suspense, Transitions, automatic batching, etc. See more details here. As far as I can see, you guys already support the new architecture on iOS with this ticket. Just need the Android implementation to catch up to the same level. |
@ajaysubra Has this issue been resolved? |
Any update here? This issue is very critical @ajaysubra |
Hi folks, just want to acknowledge the importance of this update, thanks for your input. We’re fast-tracking this on our roadmap and will update here soon. Thanks for your patience through the holidays and happy new year! |
@evan-masseau Is there any update? |
@evan-masseau Any updates here? This is issue is preventing us from upgrading. |
we are similarly unable to upgrade our mobile app to the latest React Native because of this issue. it is a critical blocker. any updates are appreciated. |
Hi! This is issue is preventing me from upgrading too. |
@evan-masseau I also have a problem with this and I had to downgrade a bunch of libraries in order to keep using Klaviyo. Do you have a timeline for this issue to be addressed? Is it still in the backlog or are you guys already working on this issue? A timeline would help because depending on the timing I can decide if I wait for your update or implement your native libraries myself. Thank you in advance! |
Hey folks thanks for your interest and for your patience. I’m working on an intermediate fix to get this broken codegen out of the way and enable our SDK to work as a NativeModule in bridgeless mode on the new architecture while we work toward the longer term solution of adopting turbo modules. I expect to have an alpha branch available shortly that early adopters could test their build against. Right now I am just putting it through some tests including the bug-repro provided in this thread, and making sure that with any changes to fix Android, iOS is still fully working too. |
I’m back with good news! We are testing out this branch now, having already confirmed that the in-repo example app and the provided bug-repo in this thread build on the new architecture for iOS and Android. We have some further checks to run through before we make an official public release, but wanted to bring it you your attention sooner than later. |
Checklist
master
branch or latest release of this package.Description
Expected behavior
Actual behavior
Steps to reproduce
The Klaviyo React Native SDK version information
1.0.0
Environment Description
System: OS: macOS 15.1.1 CPU: (16) arm64 Apple M3 Max Memory: 13.58 GB / 64.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.18.0 path: ~/.volta/tools/image/node/20.18.0/bin/node Yarn: version: 1.22.22 path: ~/.volta/tools/image/yarn/1.22.22/bin/yarn npm: version: 10.8.2 path: ~/.volta/tools/image/node/20.18.0/bin/npm Watchman: version: 2024.11.25.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/adrian/.rbenv/shims/pod SDKs: iOS SDK: Platforms: - DriverKit 24.1 - iOS 18.1 - macOS 15.1 - tvOS 18.1 - visionOS 2.1 - watchOS 11.1 Android SDK: Not Found IDEs: Android Studio: 2023.2 AI-232.10300.40.2321.11668458 Xcode: version: 16.1/16B40 path: /usr/bin/xcodebuild Languages: Java: version: 17.0.11 path: /usr/bin/javac Ruby: version: 2.6.10 path: /Users/adrian/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": installed: 15.0.1 wanted: 15.0.1 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.3 wanted: 0.76.3 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: Not found newArchEnabled: false
The text was updated successfully, but these errors were encountered: