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
Future<void> _updateProcessingMemory() async {
if (processingMemoryId == null) {
return;
}
debugPrint("update processing memory");
// Update info likes geolocation
UpdateProcessingMemoryResponse? result = await updateProcessingMemoryServer(
id: processingMemoryId!,
geolocation: geolocation,
emotionalFeedback: GrowthbookUtil().isOmiFeedbackEnabled(),
);
if (result?.result == null) {
debugPrint("Can not update processing memory, result null");
}
}
For geolocation, we should send it to the server, not every 30 seconds, but every 5 to 10 minutes (The less the better), handling geolocation as a single entity, and then during memory processing, we should retrieve the geolocation that matches the creation timestamp.
As for omi emotional feedback, is not needed for now (disabled), but once is used again, also keep it as a backend entity.
Default geolocation to ipapi.co/json
The text was updated successfully, but these errors were encountered:
Instead of doing
For geolocation, we should send it to the server, not every 30 seconds, but every 5 to 10 minutes (The less the better), handling geolocation as a single entity, and then during memory processing, we should retrieve the geolocation that matches the creation timestamp.
As for omi emotional feedback, is not needed for now (disabled), but once is used again, also keep it as a backend entity.
Default geolocation to ipapi.co/json
The text was updated successfully, but these errors were encountered: