Command Line Arguments

#1

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.

Tx

#2

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.

closed #3

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