-
Notifications
You must be signed in to change notification settings - Fork 590
chore: new architecture experiment revisited [DO NOT MERGE] #12825
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
base: main
Are you sure you want to change the base?
Conversation
6cb25b0 to
841f693
Compare
841f693 to
f037931
Compare
|
I am opening the PR to make sure all CI stuff keeps on running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greptile Overview
Greptile Summary
Enables React Native new architecture experiment by setting newArchEnabled=true on both iOS and Android platforms and converting native modules to C++ (.mm).
- Enabled new architecture in
android/gradle.properties,ios/Podfile, andios/Podfile.properties.json - Converted
ARAppDelegateHelper.mandARPHPhotoPickerModule.mto.mm(Objective-C++) for new arch compilation compatibility - Updated
react-native-context-menu-viewandreact-native-launch-argumentsto fork branches with new architecture fixes - Added
startTransitionprop toFlagProviderto handle React 18 transitions - Bumped node cache version to v26
Issues found:
- Logic error in photo picker: checking
results.countinstead ofimages.countafter image loading could cause incorrect error handling
Additional Comments (1)
-
ios/Artsy/Emission/EigenCommunications/ARPHPhotoPickerModule.mm, line 96 (link)logic: checking
results.count == 0here is incorrect - should checkimages.count == 0since images may fail to load even when results exist
9 files reviewed, 2 comments
|
|
||
| #import <AuthenticationServices/AuthenticationServices.h> | ||
| #import <SafariServices/SafariServices.h> | ||
| #import <FBSDKCoreKit/FBSDKCoreKit-swift.h> | ||
|
|
||
|
|
||
| #import <Firebase.h> | ||
| #import "BrazeReactBridge.h" | ||
| #import "BrazeReactUtils.h" | ||
| #import <BrazeUI/BrazeUI-Swift.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: added imports for AuthenticationServices and SafariServices when converting to C++, but these frameworks don't appear to be used - consider removing unused imports
This PR resolves []
Description
Experimental branch enabling the new architecture for testing.
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.