mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Use generated version name from BuildConfig
This commit is contained in:
parent
0d582100b3
commit
0e3bd3c74a
5 changed files with 7 additions and 16 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue