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

[FINAL] Don't reset values on upgrade. #1

Merged
merged 2 commits into from
Sep 9, 2015

Conversation

jeiting
Copy link

@jeiting jeiting commented Sep 8, 2015

Current behavior is that tracking is reset everytime a user upgrades, this will revert this behavior.

sigEventCount++;
[userDefaults setInteger:sigEventCount forKey:kAppiraterSignificantEventCount];
if (_debug)
NSLog(@"APPIRATER Significant event count: %@", @(sigEventCount));
Copy link
Author

Choose a reason for hiding this comment

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

This behavior will happen always.

@dmzza
Copy link

dmzza commented Sep 9, 2015

It looks like you've moved the reset to only ever happen once on a device, and the incrementing of uses and significant events to happen always. If that sounds right, it looks good to me. Just some formatting comments. Then :shipit:

jeiting added a commit that referenced this pull request Sep 9, 2015
[FINAL] Don't reset values on upgrade.
@jeiting jeiting merged commit 599d479 into master Sep 9, 2015
@jeiting jeiting deleted the fix/tracking-release-reset branch September 9, 2015 17:25
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