-
Notifications
You must be signed in to change notification settings - Fork 294
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
Xcode13-beta3 Fix #713
Xcode13-beta3 Fix #713
Conversation
I'm not super familiar with App Extensions... do we think this is something an iOS developer / merchant would assume is supported in an iOS SDK unless explicitly stated that we don't support? I'd lean towards the workaround to prevent breaking anything if any merchants are using those modules in App Extensions. And maybe next major version stating explicitly whether we support them or not going forward. But if you think App Extension support is not assumed I could see the case for this simpler annotation fix. |
Sorry, I deleted my prior comment since I realized I had misspoke. So, even before adding these annotations, these methods wouldn't compile for an App Extension, since they're using APIs unavailable to App Extensions. So in that case - I think adding these annotations would make no difference to a merchant trying to use these modules in an App Extension. Given that - these changes feel OK to me. I like your idea of taking a more formal stance on our support for App Extensions in future versions. Let me know if that makes sense @sarahkoop. |
@scannillo What's the next step with this? Are you releasing the fix anytime now from the foregoing? |
Hey @gobera - yup, we should be able to get this released by the end of the week. |
@gobera - I am curious, are you blocked on this by braintree_ios or braintree-ios-drop-in? |
Background
GitHub Issue
XCode 13-beta3 release notes call out the following change:
Changes
In places that we use Apple APIs which aren't usable in App Extensions (
UIApplication.sharedApplication
) we need to explicitly mark these methods as not usable for App Extensions.Resources
Checklist
Authors
@scannillo