thekevinbrown/react-native-schemes-manager

Support for inline Node Arguments while building a bundle.

Opened this issue · 6 comments

Steps to reproduce the behavior

The original react-native-xcode.sh that ships with React Native has support $NODE_ARGS for passing arguments to node when bundling scripts.

Expected behavior

There should be an added variable for $NODE_ARGS in the final script that is run.

Actual behavior

Currently there does not seem to be support for this variable to pass node arguments. This is very helpful since I need to pass arguments to node.

This is from the script bundled with React Native
image

This is from the script in React-Native-Schemes-Manager
image

I'm not sure what this means, can you please fill out the issue template?

I'm not sure what this means, can you please fill out the issue template?

Sorry I wasn't sure if you'd see this. I have filled in the details for the issue. Please check if this is a possiblity.

Thanks.

That makes a lot more sense, thanks!

What version of React Native are you using?

That makes a lot more sense, thanks!

What version of React Native are you using?

I have been using this flag since 0.61.5 . Recently upgraded to 0.62

@thekevinbrown any updates on this ? Would you like me to create a PR for this ?

In general with React Native 60+ you shouldn't even need this library. I'd suggest trying to migrate off of it and see if you can do multiple debug schemes with the stock React Native setup. (You should be able to).