0

Is there a way to tell if the Android React-Native app is in "release mode" at runtime?

Is there perhaps a well to tell if the app has been signed?

Cheers, Mike

mikeysee
  • 1,613
  • 1
  • 18
  • 31

1 Answers1

2

Just check if __DEV__ is true or false

if (__DEV__) {
  // then development mode
} else {
  // release mode
}
G. Hamaide
  • 7,078
  • 2
  • 36
  • 57