Skip to content

Commit

Permalink
Fix OS gating for authentication services declarations
Browse files Browse the repository at this point in the history
Summary: Not sure why this wasn't caught in CI

Reviewed By: jawwad

Differential Revision: D39978939

fbshipit-source-id: 6d0fab1661b63c2120670cf783fb87f2fc1faa41
  • Loading branch information
samodom authored and facebook-github-bot committed Oct 4, 2022
1 parent 2a08235 commit d447207
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FBSDKCoreKit/FBSDKCoreKit/AuthenticationSessionProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* LICENSE file in the root directory of this source tree.
*/

#if !os(tvOS)

import AuthenticationServices

typealias AuthenticationCompletionHandler = (URL?, Error?) -> Void
Expand All @@ -25,3 +27,5 @@ protocol AuthenticationSessionProtocol {
}

extension ASWebAuthenticationSession: AuthenticationSessionProtocol {}

#endif

0 comments on commit d447207

Please sign in to comment.