Use generated version name from BuildConfig

This commit is contained in:
veyndan 2017-03-24 03:09:43 +00:00
parent 0d582100b3
commit 0e3bd3c74a
5 changed files with 7 additions and 16 deletions

View file

@ -90,7 +90,7 @@ public class EventLog {
fullData.put("wiki", CommonsApplication.EVENTLOG_WIKI);
data.put("device", DEVICE);
data.put("platform", "Android/" + Build.VERSION.RELEASE);
data.put("appversion", "Android/" + CommonsApplication.APPLICATION_VERSION);
data.put("appversion", "Android/" + BuildConfig.VERSION_NAME);
fullData.put("event", data);
return new URL(CommonsApplication.EVENTLOG_URL + "?" + Utils.urlEncode(fullData.toString()) + ";");
} catch (MalformedURLException e) {