Osmo service pass a version

This commit is contained in:
Victor Shcherb 2014-07-17 22:15:28 +02:00
parent c893eddcf1
commit 8a60469a8b

View file

@ -248,6 +248,7 @@ public class OsMoService implements OsMoReactor {
try {
// Add your data
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
nameValuePairs.add(new BasicNameValuePair("app", Version.getFullVersion(app)));
nameValuePairs.add(new BasicNameValuePair("key", deviceKey));
if(app.getSettings().OSMO_USER_PWD.get() != null) {
nameValuePairs.add(new BasicNameValuePair("auth", app.getSettings().OSMO_USER_PWD.get()));