Reputation: 36640
Is there a way to determine if the current running react-native app was a debug build? Specifically for android, but hopefully platform agnostic.
Upvotes: 6
Views: 2541
Reputation: 4199
Use DEV flag
if (__DEV__) { console.log('I am in debug'); }
Upvotes: 9