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

Visit refresh fix #17

Merged
merged 3 commits into from
Jun 22, 2017
Merged

Visit refresh fix #17

merged 3 commits into from
Jun 22, 2017

Conversation

sneakybueno
Copy link
Contributor

No description provided.

Eric Bueno added 3 commits June 21, 2017 14:51
Prevent visits from being turned off if they were already on
Copy link
Contributor

@mdyson mdyson left a comment

Choose a reason for hiding this comment

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

Is this just a straight revert back prior to your changes? Does it make sense to at least keep the unit tests in here?

@@ -514,17 +514,16 @@ - (void)refreshVisitSubscribers {
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations {

BOOL isBackgrounded = applicationIsBackgrounded();
CLLocation *mostRecentLocation = [locations firstObject];
CLLocation *newestLocation = nil;
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought this change was something positive for us

Copy link
Contributor

Choose a reason for hiding this comment

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

We don't have an immediate benefit from this fix, and don't want to accidentally mess anything up.

@sneakybueno sneakybueno merged commit b1eb125 into master Jun 22, 2017
@sneakybueno sneakybueno deleted the bueno/visits-hotfix branch June 22, 2017 20:28
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.

None yet

3 participants