How to set IS_TESTING Environment Variable for Android #25695
Labels
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Type: Docs
Issues concerning the docs are tracked elsewhere: https://github.com/facebook/react-native-website
Here at https://facebook.github.io/react-native/docs/debugging#warnings is mention the variable
The usage of the variable can be found here:
react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.java
Lines 78 to 80 in 3b6f6ca
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
suggest that is not possible to change the
System.property
of the emulator, or device.The text was updated successfully, but these errors were encountered: