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

Fabric migration - Testing new arch #3106

Closed
wants to merge 41 commits into from
Closed

Conversation

haileyok
Copy link
Contributor

@haileyok haileyok commented Mar 5, 2024

This PR relies on #3096 and all of its related PRs. Do not merge this PR until that PR is merged into main.

This PR is going to get messy, it's an experiment to see what exactly we need to replace/remove/change/leave alone when using Fabric on iOS. Fabric on Android was much less finicky, so I'm going to target iOS and then make adjustments as needed for Android.

Once I get a decent gameplan, I'll open a separate branch and make individual changes to that branch to keep track of things. For now its all living in my head, a Trello board, and a Notion document...

Test Plan

To be determined...

To Test

git checkout hailey/fabric-migration-pt7
yarn nuke
yarn install
yarn prebuild
yarn ios

You can check your Podfile.lock inside of the iOS directory for the keyword fabric. There should be an RCTFabric entry.

You can also see if Fabric is enabled by running a pod install manually. you should see [Codegen] Done near the bottom.

Screenshot 2024-03-04 at 10 35 00 PM

After testing, you will need to nuke again. The newArchEnabled flag likes to "stick" even if you just remove it from the config and do a prebuild again, so it's best to nuke and start from scratch.

haileyok added 28 commits March 4, 2024 14:47
passing tests

remove other `react-native-fs` usages

move to `expo-image-manipulator` for resizes

remove react-native-image-resizer

update tests

update jest setup

simplify some logic

properly cleanup files

migrate file downloads to `expo-file-system`

rm `rn-fetch-blob`
@haileyok haileyok changed the title Fabric migration - Enable new arch on iOS Fabric migration - Testing new arch Mar 5, 2024
@haileyok haileyok closed this Mar 5, 2024
@haileyok haileyok deleted the hailey/fabric-migration-pt7 branch June 8, 2024 07:53
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.

1 participant