Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liammeier/fence 1220 flush replays in more sdk lifecycle methods ios #274

Conversation

lmeier
Copy link
Contributor

@lmeier lmeier commented Aug 31, 2023

No description provided.

@lmeier lmeier marked this pull request as ready for review August 31, 2023 21:05
@lmeier lmeier requested a review from corypisano August 31, 2023 21:05
[RadarSettings updateLastTrackedTime];
}

[[RadarDelegateHolder sharedInstance] didFailWithStatus:status];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should just need the one didFailWithStatus from above in if (status != RadarStatusSuccess)

Copy link
Contributor Author

@lmeier lmeier Aug 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch. we do need just one, but this is the one we should keep actually.

current behavior is that even if RadarStatusSuccess, we fall through to [[RadarDelegateHolder sharedInstance] didFailWithStatus:status]; when calling /track/replay

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm is that current behavior intentional though? Seemed like that was the "Radar error received" logs even though no error

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I actually figured out how to get toolkit working here while making this behave in a more standard manner. a44b46e

@lmeier lmeier merged commit dba641b into master Sep 5, 2023
1 check passed
@lmeier lmeier deleted the liammeier/fence-1220-flush-replays-in-more-sdk-lifecycle-methods-ios branch September 5, 2023 17:58
ShiCheng-Lu pushed a commit that referenced this pull request Jun 13, 2024
…app-opens-by-default

CORE-292 log app opens by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants