Skip to content

Conversation

@brainbicycle
Copy link
Contributor

This PR resolves []

Description

Experimental branch enabling the new architecture for testing.

PR Checklist

  • I have tested my changes on the following platforms:
    • Android.
    • iOS.
  • I hid my changes behind a feature flag, or they don't need one.
  • I have included screenshots or videos at least on Android, or I have not changed the UI.
  • I have added tests, or my changes don't require any.
  • I added an app state migration, or my changes do not require one.
  • I have documented any follow-up work that this PR will require, or it does not require any.
  • I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

  • I would like at least one of the reviewers to run this PR on the simulator or device.
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.

@brainbicycle brainbicycle self-assigned this Oct 7, 2025
@brainbicycle brainbicycle marked this pull request as draft October 7, 2025 19:01
@brainbicycle brainbicycle mentioned this pull request Oct 7, 2025
10 tasks
@MounirDhahri MounirDhahri force-pushed the moplat/new-arch-revisited branch 4 times, most recently from 6cb25b0 to 841f693 Compare October 14, 2025 10:34
@MounirDhahri MounirDhahri force-pushed the moplat/new-arch-revisited branch from 841f693 to f037931 Compare October 15, 2025 15:35
@MounirDhahri MounirDhahri marked this pull request as ready for review October 28, 2025 14:05
@MounirDhahri
Copy link
Member

I am opening the PR to make sure all CI stuff keeps on running

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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, and ios/Podfile.properties.json
  • Converted ARAppDelegateHelper.m and ARPHPhotoPickerModule.m to .mm (Objective-C++) for new arch compilation compatibility
  • Updated react-native-context-menu-view and react-native-launch-arguments to fork branches with new architecture fixes
  • Added startTransition prop to FlagProvider to handle React 18 transitions
  • Bumped node cache version to v26

Issues found:

  • Logic error in photo picker: checking results.count instead of images.count after image loading could cause incorrect error handling

Additional Comments (1)

  1. ios/Artsy/Emission/EigenCommunications/ARPHPhotoPickerModule.mm, line 96 (link)

    logic: checking results.count == 0 here is incorrect - should check images.count == 0 since images may fail to load even when results exist

9 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

Comment on lines +14 to 23

#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>
Copy link
Contributor

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

@ArtsyOpenSource
Copy link
Contributor

Warnings
⚠️

An error occurred while validating your changelog, please make sure you provided a valid changelog.

Generated by 🚫 dangerJS against f037931

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.

5 participants