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

Perform nil check before clearing geofences #409

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

lmeier
Copy link
Contributor

@lmeier lmeier commented Oct 28, 2024

Relevant if what's being sent up is a /track/replay, where we early 200.

@KennyHuRadar
Copy link
Contributor

Took a look at android, it too faces the same issue that should be addressed.

@lmeier
Copy link
Contributor Author

lmeier commented Oct 28, 2024

Took a look at android, it too faces the same issue that should be addressed.

radarlabs/radar-sdk-android#413 @KennyHuRadar

@KennyHuRadar
Copy link
Contributor

Its worth noting that this does not alter tracking behavior in the case where there are no nearby geofences as the server would return an empty array instead of a null value. I don't think there is anything actionable right away but it does feel like a fragile part of our logic.

@lmeier lmeier mentioned this pull request Oct 30, 2024
@lmeier lmeier merged commit 8abf09d into master Oct 30, 2024
2 checks passed
@lmeier lmeier deleted the only-clear-geofences-when-nearby-geofences branch October 30, 2024 15:46
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