Skip to content

Conversation

@war-in
Copy link
Contributor

@war-in war-in commented Oct 30, 2025

Rock should always use RCT_USE_RN_DEP & RCT_USE_PREBUILT_RNCORE when passed. Current implementation (||) takes value from usePrebuiltReactNative when envs are set to 0 by the user, which basically blocks us from disabling the prebuild artefacts

cc @thymikee as you mentioned that this is an expected behaviour here 🙏 Let me know if I missed something!


Note

Respect RCT_USE_RN_DEP and RCT_USE_PREBUILT_RNCORE env vars when set; fall back to prebuilt RN defaults only when unset.

  • Apple helpers – pods install:
    • Update packages/platform-apple-helpers/src/lib/utils/pods.ts to always use provided env values for RCT_USE_RN_DEP and RCT_USE_PREBUILT_RNCORE (treat 0 as valid), defaulting to prebuilt RN only when envs are undefined.
  • Release:
    • Add changeset for a patch bump: @rock-js/platform-apple-helpers.

Written by Cursor Bugbot for commit 9ed5d05. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Oct 30, 2025

@war-in is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@war-in
Copy link
Contributor Author

war-in commented Oct 30, 2025

I'm also not sure if I have to cast envs to string but did it to stay aligned with the previous code

@adhorodyski adhorodyski requested a review from thymikee October 30, 2025 12:32
Copy link
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@szymonrybczak
Copy link
Collaborator

@war-in I'll merge and release this one soon!

@szymonrybczak szymonrybczak merged commit c61b273 into callstackincubator:main Nov 1, 2025
4 of 5 checks passed
@szymonrybczak
Copy link
Collaborator

@war-in I released v0.11.9 with your change. 🙏

@war-in
Copy link
Contributor Author

war-in commented Nov 3, 2025

@szymonrybczak thank you!

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.

2 participants