com.mutualmobile.cordova.bluetoothle
Advanced tools
Comparing version 1.0.8 to 1.1.0
{ | ||
"name": "com.mutualmobile.cordova.bluetoothle", | ||
"version": "1.0.8", | ||
"version": "1.1.0", | ||
"description": "Connect with devices using Bluetooth Low Energy communication", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -107,4 +107,13 @@ // cordova.define("com.mutualmobile.cordova.bluetoothle.BluetoothLe", function(require, exports, module) { | ||
}, | ||
startDiscovery: function() { | ||
return exec('startDiscovery'); | ||
startDiscovery: function(uuids) { | ||
var args; | ||
if (isIos) { | ||
args = [{ | ||
serviceUuids: uuids | ||
}]; | ||
} | ||
else { | ||
args = [uuids]; | ||
} | ||
return exec('startDiscovery', args); | ||
}, | ||
@@ -111,0 +120,0 @@ stopDiscovery: function() { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1579
0
154562
9