Command Line Arguments

Hello -

Is it possible to pass command line arguments to the react native expo app itself? I would like to pass in a flag to turn off a few items before taking screen shots via FastLane.


No, I don’t think the standalone app has any way of knowing the manner in which it was launched (including any command line args that were present).

We do expose the app’s published manifest (including version, release channel, etc.) via Constants, which might contain something that helps out with this.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.