react-native-schemes-manager icon indicating copy to clipboard operation
react-native-schemes-manager copied to clipboard

Support for inline Node Arguments while building a bundle.

Open Krypternite opened this issue 5 years ago • 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

Krypternite avatar May 31 '20 01:05 Krypternite

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

thekevinbrown avatar Jun 01 '20 02:06 thekevinbrown

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.

Krypternite avatar Jun 01 '20 04:06 Krypternite

That makes a lot more sense, thanks!

What version of React Native are you using?

thekevinbrown avatar Jun 01 '20 04:06 thekevinbrown

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

Krypternite avatar Jun 01 '20 05:06 Krypternite

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

Krypternite avatar Jun 08 '20 04:06 Krypternite

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).

thekevinbrown avatar Jun 09 '20 05:06 thekevinbrown