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
[apps] NCL: fix web build with Reanimated #19305
Conversation
NCL web app build correctly now, but Reanimated and Skia pages are crashing, so it's not a complete fix, rather a step in the process. |
thanks for taking care of this. the yarn.lock is not quite correct (the util package is not pinned by resolutions). please try to do fwiw, the babel plugin is officially now required: software-mansion/react-native-reanimated#3437 i think skia broken on web may be expected. we didn't setup canvaskit correctly when i added the example 😅 |
oh we may require the fix: software-mansion/react-native-reanimated#3624. |
@Kudo We plan to release Reanimated 2.11.0 early next week, is this okay? |
70dee29
to
827796f
Compare
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.
🔥 thanks for this fix
* fix(runtime): drop sdkVersion from app.json * refactor(runtime): upgrade to Expo SDK 47 beta * refactor(runtime): update patches to used package versions * refactor(snack-content): upgrade to Expo SDK 47 beta * refactor(snack-sdk): upgrade bundled native modules fixture to Expo SDK 47 beta * test(snack-sdk): update the tests for Expo SDK 47 beta * docs(snack-sdk): add changelog entries * refactor(website): upgrade to Expo SDK 47 beta * fix(runtime): use event subscriptions in app * fix(runtime: change barcode scanned types to match code * test(snackager): update to Expo SDK 47 beta * docs: update changelogs to include pr * fix(runtime): work around reanimated issue #3437 See: software-mansion/react-native-reanimated#3437 See: expo/expo#19305 * fix(runtime): fix deployment script removing sdkVersion usage * refactor(runtime): update dependencies for SDK 47 stable * refactor(snack-sdk): upgrade bundled native modules fixture to Expo SDK 47 stable * test(snack-sdk): update the tests for Expo SDK 47 stale
Why
Fixes https://github.com/expo/expo/actions/runs/3153362442/jobs/5129746889
How
This PR adds a Babel plugin which allow to parse
exports
from the latest release of Reanimated while running web app.Test Plan
yarn web
launches NCL instead of crashing.Checklist
expo prebuild
& EAS Build (eg: updated a module plugin).