You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
16.0
Facebook iOS SDK version
17.1.0
Dependency Manager
SPM
SDK Framework
Login
Goals
Enable standard Facebook Login on a Mac Catalyst app, avoiding fallback to the Limited Login flow.
Expected results
The login flow should proceed with tracking enabled in the Mac Catalyst environment.
Actual results
The SDK defaults to the Limited Login flow.
Steps to reproduce
Build the app with Mac Catalyst.
Initiate the Facebook login flow.
SDK automatically defaults to Limited Login.
Issue: Since App Tracking Transparency (ATT) is unavailable on macOS, ATTrackingManager consistently returns .notDetermined, causing the SDK to fallback to Limited Login. The Facebook SDK should identify the Mac Catalyst environment and initiate the standard login flow when targeting it.
Code samples & details
@MainActorfunc login(from viewController:UIViewController)asyncthrows{returntryawaitwithCheckedThrowingContinuation{ continuation in
loginManager.logIn(configuration:LoginConfiguration(permissions: permissions, tracking:.enabled)){ result in
switch result {case.failed(let error):
continuation.resume(throwing: error)case.cancelled:
continuation.resume(throwing:AuthenticationServiceError.cancelled)case.success(_,let declined, _):
guard declined.isEmpty else{return continuation.resume(throwing:AuthenticationServiceError.invalidPermissions)}
continuation.resume()}}}}
The text was updated successfully, but these errors were encountered:
Checklist before submitting a bug report
Xcode version
16.0
Facebook iOS SDK version
17.1.0
Dependency Manager
SPM
SDK Framework
Login
Goals
Enable standard Facebook Login on a Mac Catalyst app, avoiding fallback to the Limited Login flow.
Expected results
The login flow should proceed with tracking enabled in the Mac Catalyst environment.
Actual results
The SDK defaults to the Limited Login flow.
Steps to reproduce
Issue: Since App Tracking Transparency (ATT) is unavailable on macOS,
ATTrackingManager
consistently returns.notDetermined
, causing the SDK to fallback to Limited Login. The Facebook SDK should identify the Mac Catalyst environment and initiate the standard login flow when targeting it.Code samples & details
The text was updated successfully, but these errors were encountered: