Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Requesting tracking authorization on iOS 14 always returns "denied"

I'm trying to test the iOS 14 tracking popup. It shows up when I test it on the Simulator, but not on a real device (iOS 14.3).

I have already read this post (IDFA iOS14 returns denied without displaying auth popup). But turning on the tracking option doesn't solve my problem.

I made sure:

  • To provide a purpose string (NSUserTrackingUsageDescription) in the Info.plist
  • To actually call ATTrackingManager.requestTrackingAuthorization(completionHandler:)
  • That the tracking (Preferences > Privacy > Tracking) is turned on

But I don't get prompted when running the app. The completionHandler gets called immediately with the .denied case.
Also, the app does not even show up on the list of apps using tracking (Preferences > Privacy > Tracking).

like image 771
Lukas Würzburger Avatar asked Jan 25 '21 17:01

Lukas Würzburger


People also ask

Why won't my Apple ID allow tracking?

In some circumstances, the “Allow Apps to Request to Track” setting is disabled, including: For users with child accounts or under age 18 by birth year, signed in with their Apple ID* If your Apple ID is managed by an educational or business institution.

Why does it say ask not to track?

If an app isn't asking you for permission to track, that means either the app has gotten out of the tracking business, or the app's maker hasn't posted an update yet.

What is iPhone allow tracking?

When you say yes to tracking on your iPhone, apps such as Facebook can track you across other apps and websites, using something called the identifier for advertisers (IDFA). This unique code assigned to each iPhone offers insights into your buying habits so an advertiser can measure the success of their campaigns.


1 Answers

Issue is with OS so you have to update your OS to 14.5.1

Apple released iOS and iPadOS 14.5.1. According to Apple's release notes, the update fixes a bug with App Tracking Transparency that may have prevented some users from receiving prompts from apps.

Release notes for iOS and iPadOS 14.5.1

This update fixes an issue with App Tracking Transparency where some users who previously disabled Allow Apps to Request to Track in Settings may not receive prompts from apps after re-enabling it. This update also provides important security updates and is recommended for all users.

I updated OS from 14.5 to 14.5.1 and now I am getting ATT prompt on first launch.

like image 97
Abhishek Aryan Avatar answered Oct 24 '22 04:10

Abhishek Aryan