You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
By using aggregateGroupByPeriod in Android 14 + I didn't have any problems, but when checking on slightly older devices, Android 13 under, I wasn't able to obtain any data from the API and got a Possible Promise error.
To Reproduce
Steps to reproduce the behavior:
set emulator to android 13
run a aggregateGroupByPeriod
Expected behavior
Same as on android 14+ it returns the data inquired for.
Describe the bug
By using aggregateGroupByPeriod in Android 14 + I didn't have any problems, but when checking on slightly older devices, Android 13 under, I wasn't able to obtain any data from the API and got a Possible Promise error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Same as on android 14+ it returns the data inquired for.
Screenshots
Minimal Reproducible
return (await aggregateGroupByPeriod({
recordType: type,
timeRangeFilter: {
operator: 'between',
startTime: androidFormatQueryDate('2024-12-13'),
endTime: androidFormatQueryDate('2025-01-13'),
},
timeRangeSlicer: {
period: 'DAYS',
length: 1,
},
})) as HealthCareAggregationResult;
update
the error happens even with the Example Code on Android 13 and under
const aggregateSampleGroupByPeriod = () => {
aggregateGroupByPeriod({
recordType: 'Steps',
timeRangeFilter: {
operator: 'between',
startTime: getBeginningOfLast7Days().toISOString(),
endTime: now().toISOString(),
},
timeRangeSlicer: {
period: 'DAYS',
length: 1,
},
}).then((result) => {
console.log(
'Aggregated Group by Period: ',
JSON.stringify({ result }, null, 2)
);
});
};
Environment:
The text was updated successfully, but these errors were encountered: