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

[AppCheck] App Attest provider is supported by tvOS 15.0+ #10093

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Aug 11, 2022

This PR is part of a series of PRs to cleanup App Check's availability guards.

#10094 focused on fixing AppCheck's watchOS CI and watchOS x DeviceCheck availability. This PR focuses on tvOS availability improvements as well as cleaning up some outdated logic.

I thought using the split view on this PR made it easier to understand the diff.

Context

This PR achieves two things:

  1. App Attest has had support for tvOS 15.0+ but the SDK has not updated to reflect this. This PR updates the availability guards to allow clients to use the App Attest provider on tvOS 15.0+.
  2. At the time when FIRAppCheckAvailability.h was created, I believe we were still supporting Xcode 12. Since Xcode 12.5 expanded availability for AppAttest, the availability logic was tailored to enable API based on Xcode version (since we had to support developers using minor versions before and after Xcode 12.5).

Since we no longer support Xcode 12, we can simplify things by removing this.

@google-oss-bot
Copy link

google-oss-bot commented Aug 11, 2022

Size Report 1

Affected Products

  • FirebaseAppCheck

    TypeBase (62c7752)Merge (4546138)Diff
    CocoaPods?618 kB? (?)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/nBBxJw5LAF.html
@ncooke3 ncooke3 marked this pull request as draft August 11, 2022 18:05
@ncooke3 ncooke3 marked this pull request as ready for review August 12, 2022 05:00
@ncooke3 ncooke3 changed the title [AppCheck] Update supported targets for AppAttestProvider Aug 12, 2022
Copy link
Contributor

@andrewheard andrewheard left a comment

Choose a reason for hiding this comment

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

LGTM. All my comments are just suggestions for future work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.