fix(watch): finalise correctif sync workoutHistory/exercise et distance live montre (#157)
This commit is contained in:
@ -176,6 +176,10 @@ object WatchBridgePlugin {
|
||||
"projectedAtEpochMs",
|
||||
(map["projectedAtEpochMs"] as? Number)?.toLong() ?: 0L,
|
||||
)
|
||||
dataMap.putLong(
|
||||
"expiresAtEpochMs",
|
||||
(map["expiresAtEpochMs"] as? Number)?.toLong() ?: 0L,
|
||||
)
|
||||
}.asPutDataRequest().setUrgent()
|
||||
Wearable.getDataClient(context).putDataItem(request)
|
||||
.addOnSuccessListener { result.success(null) }
|
||||
|
||||
Reference in New Issue
Block a user