react-native-mytatva-rn-sdk 1.2.27 → 1.2.28

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.
@@ -144,6 +144,7 @@ class CgmTrackyLibModule(reactContext: ReactApplicationContext) :
144
144
 
145
145
  val pocDevice =
146
146
  RepositoryDevice.getInstance(BApplication.getContext()).latestDeviceIoThread
147
+ Log.d("pocDevice logsss", pocDevice.toString())
147
148
  if (pocDevice != null) {
148
149
  if (pocDevice.isUnBind) {
149
150
  postEventDataToAPI(
@@ -462,6 +463,7 @@ class CgmTrackyLibModule(reactContext: ReactApplicationContext) :
462
463
  token = userToken,
463
464
  responseListener = object : AuthenticateSDKService.ResponseListener {
464
465
  override fun onResponseSuccess(response: String) {
466
+ updateSyncMetadata(pocGlucose)
465
467
  Log.d("CGM Data", "Single glucose data uploaded successfully")
466
468
  }
467
469
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mytatva-rn-sdk",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
4
4
  "description": "a package to inject data into visit health pwa",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",