Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28479

how to determine staging or production __dev__ in app

$
0
0

I have same app distribute with different config - staging or production, both is running on user physical phones.

I am wishing to use __DEV__ to determine if the app is running in development or production.

But __DEV__ only work on emulator or simulator, what about app staging app on user device?


Viewing all articles
Browse latest Browse all 28479

Trending Articles