react-native-ble-manager 11.0.4 → 11.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/ios/Helper.swift +3 -3
  2. package/package.json +1 -1
package/ios/Helper.swift CHANGED
@@ -105,11 +105,11 @@ class Helper {
105
105
  if mfgData.count > 1 {
106
106
  let manufactureID = UInt16(mfgData[0]) + UInt16(mfgData[1]) << 8
107
107
  var manInfo: [String: Any] = [:]
108
- manInfo[String(format: "%04X", manufactureID)] = mfgData.subdata(in: 2..<mfgData.endIndex)
109
- adv["manufacturerData"] = mfgData
108
+ manInfo[String(format: "%04X", manufactureID)] = mfgData.subdata(in: 2..<mfgData.endIndex).toArray()
109
+ adv["manufacturerData"] = manInfo
110
110
  }
111
111
  adv.removeValue(forKey: CBAdvertisementDataManufacturerDataKey)
112
- adv["manufacturerRawData"] = mfgData
112
+ adv["manufacturerRawData"] = mfgData.toArray()
113
113
 
114
114
  }
115
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ble-manager",
3
- "version": "11.0.4",
3
+ "version": "11.0.5",
4
4
  "description": "A BLE module for react native.",
5
5
  "repository": {
6
6
  "type": "git",