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

Error Domain=ATTrackingManager.AuthorizationStatus must be authorized for deferred deep linking to work. Read more at: https://developer.apple.com/documentation/apptrackingtransparency Code=-1 "(null)" #2125

Closed
5 tasks done
ddthanhdat opened this issue Oct 5, 2022 · 8 comments

Comments

@ddthanhdat
Copy link

ddthanhdat commented Oct 5, 2022

Checklist before submitting a bug report

Xcode version

12.0.0

Facebook iOS SDK version

12.3.2

Dependency Manager

CocoaPods

SDK Framework

Core

Goals

Error Domain=ATTrackingManager.AuthorizationStatus must be authorized for deferred deep linking to work. Read more at: https://developer.apple.com/documentation/apptrackingtransparency Code=-1 "(null)"

Expected results

Get the url link.

Actual results

Error Domain=ATTrackingManager.AuthorizationStatus must be authorized for deferred deep linking to work. Read more at: https://developer.apple.com/documentation/apptrackingtransparency Code=-1 "(null)"

Steps to reproduce

No response

Code samples & details

[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
[FBSDKAppLinkUtility fetchDeferredAppLink:^(NSURL *url, NSError *error) {
    if (error) {
        NSLog(@"LOG -------------: %@", error);
    }
    if (url) {
        NSLog(@"LOG -------------: ", url);
        [[UIApplication sharedApplication] openURL:url];
    }
}];
@joesus
Copy link
Contributor

joesus commented Oct 18, 2022

This is not enough information to help debug. Is the issue that ATTrackingAuthorizationStatus is authorized but that deep linking is still throwing the error?

@chathuraSupun
Copy link

@joesus yes, even after allowing permission and getting authorized status still deep deferred link gives below error
Error Domain=ATTrackingManager.AuthorizationStatus must be authorized for deferred deep linking to work. Read more at: https://developer.apple.com/documentation/apptrackingtransparency Code=-1 "(null)"

@omi-mtbriones
Copy link

Im experiencing the same issue. Im trying to implement deferred deeplinking in my app. Authorization status is already authorized but seems to fetch not-authorized.

@github-actions
Copy link

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label May 31, 2023
@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@github-actions github-actions bot closed this as completed Jun 9, 2023
@aggeloskoutanis
Copy link

still facing the same issue

@vikas-chhabra
Copy link

vikas-chhabra commented Jan 10, 2024

If you have 100% surety that ATT permission is enabled, then this might help ⬇️
Please ensure you haven't manually set FacebookAdvertiserIDCollectionEnabled to false in the info.plist file.

<key>FacebookAdvertiserIDCollectionEnabled</key>
<false/> -> <true/>

if setting up FacebookAdvertiserIDCollectionEnabled to false in info.plist file and setting the setAdvertiserIDCollectionEnabled later to true from Settings, won't help.

@DataGreed
Copy link

DataGreed commented Nov 29, 2024

still the same issue.
Facebook SK logs

<Warning>: The value for FacebookAdvertiserIDCollectionEnabled is currently set to FALSE so you're sending app events without collecting Advertiser ID. This can affect the quality of your advertising and analytics results.

Although I have

<key>FacebookAdvertiserIDCollectionEnabled</key>
	<true/>

in my info.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants
@DataGreed @joesus @ddthanhdat @aggeloskoutanis @vikas-chhabra @chathuraSupun @omi-mtbriones and others