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

CORE-1916 fix keychain and queue #1117

Merged
merged 6 commits into from
May 18, 2021
Merged

Conversation

echo-branch
Copy link
Contributor

Since we added support for secure coding on newer versions of iOS, we found archiving on Keychain and the network queue was failing due to mismatched types. This PR fixes both those issues.

For keychain, we only store NSDate. The code has been updated to always expect NSDate.

For the network queue, there was a refactor to improve testability around archive and unarchive of the network queue. The main change is that we only allow some classes to be archived and retrieved. For older versions of iOS and the SDK, we filter on archive and retrieval.

@echo-branch echo-branch requested a review from jdee May 17, 2021 20:22
@echo-branch echo-branch merged commit 2cd00ea into staging May 18, 2021
Copy link
Contributor

@jdee jdee left a comment

Choose a reason for hiding this comment

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

👍 Looks good. Sorry for the delay.

@echo-branch echo-branch deleted the CORE-1916-fix-keychain-and-queue branch September 9, 2021 18:13
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