Merge pull request #467 from veyndan/version

Use generated version name
This commit is contained in:
Josephine Lim 2017-03-25 16:30:42 +10:00 committed by GitHub
commit 94bcc74042
7 changed files with 10 additions and 19 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) {