android - How to get Test and Production values for Fabric crashlytics? -
i used plugin install crashlytics both ios , android applications. 1 difference noticed comes on portal fabric provides. ios there 2 environments, 1 test (green icon) , other production (normal icon). android not this.
i attempted create 2 different environments adding following in application class
fabric.with(this, new crashlytics()); if (constants.debug) { crashlytics.setstring("version", "production"); } else { crashlytics.setstring("version", "test"); }
i thought create 2 different version did not anything. how create multiple environments android? in advance
there no difference between release , debug other signature in android. don't think separate products there. did is, i've 2 flavors, 1 dev
, other 1 main
flavor goes google play.
dev
flavor has different package name, creates 2 different products in fabric itself, don't need if separate them package names.
Comments
Post a Comment