react-native-mytatva-rn-sdk 1.2.7 → 1.2.8

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.
@@ -122,15 +122,11 @@ class CgmTrackyLibModule(reactContext: ReactApplicationContext) :
122
122
  if (device.isBoundAndConnect) {
123
123
  status = DeviceStatus.CONNECTED.id
124
124
  } else if (device.isBoundButDisConnect) {
125
- status = DeviceStatus.TRANSMITTER_DISCONNECT.id
126
- } else if (device.isDisConnect) {
127
- status = if (!bleStatus) {
128
- DeviceStatus.BLUETOOTH_OFF.id
129
- } else {
130
- DeviceStatus.DISCONNECTED.id
131
- }
125
+ status = DeviceStatus.DISCONNECTED.id
126
+ } else if (!bleStatus) {
127
+ DeviceStatus.BLUETOOTH_OFF.id
132
128
  } else if (device.isUnBind) {
133
- status = DeviceStatus.TRANSMITTER_DISCONNECT_BOX.id
129
+ status = DeviceStatus.TRANSMITTER_DISCONNECT.id
134
130
  }
135
131
  } else {
136
132
  status = mStatus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mytatva-rn-sdk",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "a package to inject data into visit health pwa",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",