Is there a way to determine whether an Android application is signed for production or debug at runtime?
We use a much simpler way:
if (BuildConfig.DEBUG) { // we're in debug mode } else { // we're in production mode }