initializing alohalytics on startup

This commit is contained in:
Arsentiy Milchakov 2016-09-01 19:56:34 +03:00
parent a43c309fc7
commit 1feefda16b

View file

@ -107,6 +107,9 @@ public class MwmApplication extends Application
initHockeyApp();
initCrashlytics();
initPushWoosh();
// Workaround to initialize alohalytics for transferring http requests.
// Http wrapper should be cut out from the alohalytics in the future.
Statistics s = Statistics.INSTANCE;
String settingsPath = getSettingsPath();
new File(settingsPath).mkdirs();