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

Adds support for reporting from app extensions #168

Merged

Conversation

davidxiasc
Copy link
Contributor

Currently reporting of certificate errors will fail in certain app extensions with Error Domain=NSURLErrorDomain Code=-995 (NSURLErrorBackgroundSessionRequiresSharedContainer).

This PR allows users to pass a sharedContainerIdentifier into the initialization functions for an app group that the extension belongs to. This way, certificate errors from extensions such as keyboard, iMessage extension, etc. can still get uploaded.

Verified that this works in an iOS Keyboard.

@nabla-c0d3
Copy link
Member

Thanks!! We'll take a look

@nabla-c0d3 nabla-c0d3 added this to the 1.6.0 milestone Jun 5, 2018
Copy link
Contributor

@adamkaplan adamkaplan left a comment

Choose a reason for hiding this comment

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

LGTM
Background reporter appears to be private API, making this change non-breaking.

@nabla-c0d3 nabla-c0d3 merged commit a761883 into datatheorem:master Jul 10, 2018
@nabla-c0d3
Copy link
Member

Yes, it does not break the public API. @davidxiasc Thanks for the PR!

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.

3 participants