repack icon indicating copy to clipboard operation
repack copied to clipboard

Add expo plugin

Open ceopaludetto opened this issue 4 months ago • 8 comments

Summary

  • Add an expo plugin that allows expo router + expo CNG (expo managed projects) to work with repack.
  • Add a new guide to Expo

Test plan

  • Added a new expo managed tester application

Todos

  • [ ] Test Webpack Integration

ceopaludetto avatar Aug 23 '25 20:08 ceopaludetto

🦋 Changeset detected

Latest commit: 7341e40324c8da6c0e4ee947421899e912a073b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@callstack/repack-plugin-expo Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Aug 23 '25 20:08 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
repack-website Ready Ready Preview Comment Sep 1, 2025 3:42pm

vercel[bot] avatar Aug 23 '25 20:08 vercel[bot]

Test plan

Maybe we should create an expo managed example in ./apps folder

Hey @ceopaludetto, absolutely, go for it 👍

jbroma avatar Aug 26 '25 19:08 jbroma

@jbroma added a new expo guide in the docs and also added the tester application. We can combine both expo-modules and expo guides in just one page. Maybe we can also merge both plugins in just one, its up to you!

ceopaludetto avatar Aug 29 '25 19:08 ceopaludetto

I'm tracking the progress in this PR, very interested on it. I just wondering if would be possible to launch just with expo instead of react-native cli since it wouldn't require to manage pods locally or any kind of build just fetching a development build from expo cloud and run it using the repack bundler.

j0nl1 avatar Sep 01 '25 12:09 j0nl1

I'm tracking the progress in this PR, very interested on it. I just wondering if would be possible to launch just with expo instead of react-native cli since it wouldn't require to manage pods locally or any kind of build just fetching a development build from expo cloud and run it using the repack bundler.

Hey, thanks for the interest! The main reason we switched from expo CLI to React Native CLI is that when you run something like expo run ios --mode Release expo always builds the metro bundle before the native build (you'd need a patch to avoid this). Expo CLI works fine for development though (just use expo run ios --no-bundler to skip Metro). As for expo cloud, I haven't really played around with that feature much, so I can't say for sure how it would work with this setup. If you end up experimenting with it, would love to hear how it goes!

ceopaludetto avatar Sep 01 '25 15:09 ceopaludetto

waiting for merge sooooo much!!!!!!!

Rnbsov avatar Nov 23 '25 18:11 Rnbsov

waiting for merge sooooo much!!!!!!!

@Rnbsov me either!!!!!!

woals4815 avatar Nov 25 '25 05:11 woals4815