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

Send an empty location if location is disabled or location consent is not given #322

Merged
merged 5 commits into from
Jul 29, 2024

Conversation

ijunaid
Copy link
Contributor

@ijunaid ijunaid commented Jul 22, 2024

No description provided.

… not given, without checking for location consent.
Copy link
Member

@arifBurakDemiray arifBurakDemiray left a comment

Choose a reason for hiding this comment

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

this looks ok for initilization

but what about location consent revoked after init?
It should also send that info

Copy link
Contributor

@turtledreams turtledreams left a comment

Choose a reason for hiding this comment

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

changelog

Copy link
Member

@arifBurakDemiray arifBurakDemiray left a comment

Choose a reason for hiding this comment

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

Please also add some tests about all location situations.

@@ -350,6 +350,8 @@ - (void)setConsentForLocation:(BOOL)consentForLocation
else
{
CLY_LOG_D(@"Consent for Location is cancelled.");

[CountlyConnectionManager.sharedInstance sendLocationInfo];
Copy link
Member

Choose a reason for hiding this comment

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

Do we guarantee that we are sending empty location info?

@turtledreams turtledreams merged commit f038df8 into staging Jul 29, 2024
1 of 2 checks passed
@turtledreams turtledreams deleted the location-fix branch July 29, 2024 06:27
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.

3 participants