forked from github/cordova-android
CB-1852: Android version of model implemented, too bad it's all code names and not human readable
This commit is contained in:
parent
28ef765913
commit
7657faa9c3
@ -80,9 +80,7 @@ public class Device extends CordovaPlugin {
|
||||
r.put("platform", Device.platform);
|
||||
r.put("name", this.getProductName());
|
||||
r.put("cordova", Device.cordovaVersion);
|
||||
//JSONObject pg = new JSONObject();
|
||||
//pg.put("version", Device.CordovaVersion);
|
||||
//r.put("cordova", pg);
|
||||
r.put("model", this.getProductName());
|
||||
callbackContext.success(r);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user