-
Notifications
You must be signed in to change notification settings - Fork 244
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
Conversation
… not given, without checking for location consent.
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog
There was a problem hiding this 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]; |
There was a problem hiding this comment.
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?
No description provided.