1

In some samples of code BuildConfig.DEBUG equals true, but in my project that one equals false. Why is it happening? Unfortunately i didn't find anything about that in Google Firebase official site documentation. enter image description here

enter image description here

Stanly T
  • 964
  • 1
  • 12
  • 30

1 Answers1

1

BuildConfig.DEBUG (in addition to everything in the BuildConfig class) is set by the Android build tools at the time your project is built. It's assigned true when it's a debug build, false for release builds. This value has nothing to do with Firebase or its SDKs.

See also this question.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441