mirror of https://github.com/M66B/FairEmail.git
Updated release stages
This commit is contained in:
parent
6ed556d476
commit
eb2ecc2003
|
@ -143,12 +143,17 @@ public class ApplicationEx extends Application {
|
||||||
com.bugsnag.android.Configuration config =
|
com.bugsnag.android.Configuration config =
|
||||||
new com.bugsnag.android.Configuration("9d2d57476a0614974449a3ec33f2604a");
|
new com.bugsnag.android.Configuration("9d2d57476a0614974449a3ec33f2604a");
|
||||||
|
|
||||||
if (BuildConfig.DEBUG || !Helper.hasValidFingerprint(this))
|
if (BuildConfig.DEBUG)
|
||||||
config.setReleaseStage("development");
|
config.setReleaseStage("debug");
|
||||||
else if (BuildConfig.BETA_RELEASE)
|
else {
|
||||||
config.setReleaseStage(BuildConfig.PLAY_STORE_RELEASE ? "beta/play" : "beta");
|
String type = "other";
|
||||||
else
|
if (Helper.hasValidFingerprint(this))
|
||||||
config.setReleaseStage(BuildConfig.PLAY_STORE_RELEASE ? "stable/play" : "stable");
|
if (BuildConfig.PLAY_STORE_RELEASE)
|
||||||
|
type = "play";
|
||||||
|
else
|
||||||
|
type = "full";
|
||||||
|
config.setReleaseStage(type + (BuildConfig.BETA_RELEASE ? "/beta" : ""));
|
||||||
|
}
|
||||||
|
|
||||||
config.setAutoCaptureSessions(false);
|
config.setAutoCaptureSessions(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue