react-native-mytatva-rn-sdk 1.2.84 → 1.2.85
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.
|
@@ -253,7 +253,7 @@ class AuthenticateSDKService(val scope: CoroutineScope) {
|
|
|
253
253
|
)
|
|
254
254
|
|
|
255
255
|
val baseUrl = if (environment == TATVA_ENVIRONMENT.PROD) PROD_BASE_URL else STAGE_BASE_URL
|
|
256
|
-
val url = "$baseUrl/helper/
|
|
256
|
+
val url = "$baseUrl/helper/device_verification?deviceId=$sensorId&deviceType=CGM&vendor=diasens"
|
|
257
257
|
|
|
258
258
|
Log.d("API Response", "Device Verification URL: $url")
|
|
259
259
|
|
package/ios/Support/API.swift
CHANGED
|
@@ -322,7 +322,7 @@ class API {
|
|
|
322
322
|
onSuccess: @escaping (Int, Bool, String) -> Void,
|
|
323
323
|
onFailure: @escaping () -> Void
|
|
324
324
|
) {
|
|
325
|
-
let urlString = (envType.lowercased() == "uat" ? STAGE_BASE_URL : PROD_BASE_URL) + "/helper/
|
|
325
|
+
let urlString = (envType.lowercased() == "uat" ? STAGE_BASE_URL : PROD_BASE_URL) + "/helper/device_verification?deviceId=\(sensorId)&deviceType=CGM&vendor=diasens"
|
|
326
326
|
|
|
327
327
|
guard let url = URL(string: urlString) else {
|
|
328
328
|
print("===>verifyDevice: Invalid URL")
|