diff --git a/package.json b/package.json index e8096cf1bb2be811603092a6c2716ce6b7e15f67..ef8cfc993c0c421459e9cfed7544ecd30a807d0f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "cordova": "^9.0.0", - "cordova-android": "6.4.0", + "cordova-android": "^6.4.0", "cordova-clipboard": "^1.3.0", "cordova-ios": "git+https://github.com/bpresles/cordova-ios.git#5.1.0", "cordova-osx": "^5.0.0", diff --git a/www/js/config.js b/www/js/config.js index 4c514b69ddb689018e0b72ed25ec12814f97881e..de9aeab2edbf99fa8450cd6ceaaf3743cb652826 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -94,7 +94,7 @@ angular.module("cesium.config", []) } }, "version": "1.4.12", - "build": "2019-11-08T20:56:38.011Z", + "build": "2019-11-16T13:39:37.358Z", "newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new" }) diff --git a/www/js/services/device-services.js b/www/js/services/device-services.js index ecda8e666e8057678250456bdcaed6be54305ca0..cdb1df2078ec8cb56580c78c93c8a78bf4170bf7 100644 --- a/www/js/services/device-services.js +++ b/www/js/services/device-services.js @@ -241,7 +241,7 @@ angular.module('cesium.device.services', ['cesium.utils.services', 'cesium.setti if (exports.enable){ exports.camera.enable = !!navigator.camera; exports.keyboard.enable = cordova && cordova.plugins && !!cordova.plugins.Keyboard; - exports.barcode.enable = cordova && cordova.plugins && !!cordova.plugins.barcodeScanner && !this.isOSX(); + exports.barcode.enable = cordova && cordova.plugins && !!cordova.plugins.barcodeScanner && !exports.isOSX(); exports.clipboard.enable = cordova && cordova.plugins && !!cordova.plugins.clipboard; if (exports.keyboard.enable) {