I have made a new releaseStaging build variant in android code as shown below:
buildTypes { debug { } releaseStaging { initWith release applicationIdSuffix ".releasestaging" matchingFallbacks = ['release'] } release { } }
I want to show/hide some text in react native code based on the build variant. I want to know in react native code, the build variant name.
How to achieve that? Thanks in advance!