Samsung Health weight read request not working.
we have weight read permission , and accquired in device , connected succesfully but read result listner not updated any datas
Query
` val startTime = getUtcStartOfDay(System.currentTimeMillis(), TimeZone.getDefault())
val endTime = startTime + TimeUnit.DAYS.toMillis(1)
val request = HealthDataResolver.ReadRequest.Builder()
.setDataType(HealthConstants.Weight.HEALTH_DATA_TYPE)
.setProperties(arrayOf(HealthConstants.Weight.WEIGHT))
.setLocalTimeRange(HealthConstants.Weight.START_TIME, HealthConstants.Weight.TIME_OFFSET, startTime, endTime)
.build()`