Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[CB-512] proper reference to cordova version in deviceproperties on iOS

  • Loading branch information...
commit 017a948047e355ae0c2cdc8c4188ae57b115528a 1 parent 1b0fd4a
@filmaj authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ios/plugin/ios/device.js
View
4 lib/ios/plugin/ios/device.js
@@ -20,7 +20,7 @@ Device.prototype.setInfo = function(info) {
this.platform = info.platform;
this.version = info.version;
this.name = info.name;
- this.cordova = info.gap;
+ this.cordova = info.cordova;
this.uuid = info.uuid;
channel.onCordovaInfoReady.fire();
} catch(e) {
@@ -28,4 +28,4 @@ Device.prototype.setInfo = function(info) {
}
};
-module.exports = new Device();
+module.exports = new Device();
Please sign in to comment.
Something went wrong with that request. Please try again.