Skip to content

Events are lost when app has no connection temporarily #16

@gpotrykus

Description

@gpotrykus

Is there any reason why we don't requeue events when HTTP request fails, eg. due to lost internet connection ?

void FAptabaseAnalyticsProvider::OnEventsRecoded(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful, TArray<FAptabaseEventPayload> OriginalEvents)
{
if (!bWasSuccessful)
{
UE_LOG(LogAptabase, Error, TEXT("Request to record the event was unsuccessful."));
return;
}

Shouldn't we call BatchedEvents.Append(OriginalEvents); here?

@pasotee

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions