Description
Here at https://facebook.github.io/react-native/docs/debugging#warnings is mention the variable
The usage of the variable can be found here:
However, I'm not sure we are able to change the value from gradle config or any sort of build configuration.
Also, I opened a question here
regarding to how set environment variable on android and the comment
the application code is running in Android, not on your development machine. There are no configurable system properties in Android, short of creating a custom ROM. If you want to have a system property on your development machine be embedded in your Android app. have your Gradle script use buildConfigField to put the system property value into BuildConfig, or use resValue to put the system property value in a string resource
suggest that is not possible to change the System.property
of the emulator, or device.