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

Implement Reset-Metadata Helper #370

Closed
jleandroperez opened this issue Oct 15, 2014 · 0 comments · Fixed by #371
Closed

Implement Reset-Metadata Helper #370

jleandroperez opened this issue Oct 15, 2014 · 0 comments · Fixed by #371
Assignees
Milestone

Comments

@jleandroperez
Copy link
Contributor

Whenever there's a PSC Model Migration error, the database will not be accessible, and Simperium will be initialized with a blank Core Data storage.

This, as a result, will leave Simperium in an inconsistent state: the internal metadata structures will not get nuked, and thus, after authentication, it's possible that the library won't download the database again.

Implement a helper method, to be called during an eventual PSC migration issue, that would help ensure metadata consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant