question

Stesvis-5434 avatar image
0 Votes"
Stesvis-5434 asked ColeXia-MSFT commented

iOS - App Tracking Transparency

My app update was rejected by apple for this reason:

We noticed you do not use App Tracking Transparency to request the user's permission before tracking their activity across apps and websites. The app privacy information you provided in App Store Connect indicates you collect data in order to track the user, including Name, Email Address, and Device ID.

Starting with iOS 14.5, apps on the App Store need to receive the user’s permission through the AppTrackingTransparency framework before collecting data used to track them. This requirement protects the privacy of App Store users.

Next Steps

Here are two ways to resolve this issue:

You can remove the tracking functionality from your app and update your app privacy information in App Store Connect.
- If you decide to continue tracking users, you must implement App Tracking Transparency and request permission before collecting data used to track the user or device.

Does anybody know how to solve this in Xamarin Forms?
The reason for collecting user info is because I use social log in (which pulls name, email, public_photo etc) and the device ID for push notification details.

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ColeXia-MSFT avatar image
0 Votes"
ColeXia-MSFT answered ColeXia-MSFT commented

Welcome to Microsoft Q&A!

As the steps apple provided , if you decide to continue tracking users, you must implement App Tracking Transparency and request permission .

To use the AppTrackingTransparency framework:

  • Set up a NSUserTrackingUsageDescription in info.plist .

  • Call requestTrackingAuthorizationWithCompletionHandler: to present the app-tracking authorization request to the end user.

  • Use trackingAuthorizationStatus to determine the app-tracking permission status.

Refer to https://developer.apple.com/documentation/apptrackingtransparency?language=objc.

Best Regards,
Cole Xia


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks @ColeXia-MSFT i guess i don't understand how to call requestTrackingAuthorizationWithCompletionHandler from xamarin..

0 Votes 0 ·

Something like this

ATTrackingManager.RequestTrackingAuthorization(( status) => { 
    if(status == ATTrackingManagerAuthorizationStatus.Authorized)
    {

    }
    else if (status == ATTrackingManagerAuthorizationStatus.Denied)
    {
    }
 });


1 Vote 1 ·

Thank you, with this code i was able to trigger the iOS notification to show up.
However, forgive me but i really do not understand what this is for.
Apple forced me to say that I do track the user ID because I have implemented social login such as facebook and google.
But honestly, I don't really track anything, and admitting that instead I track the user info was the only way to get approved the first time (after lots of back & forth with messages).

Do you know what this is all about??

0 Votes 0 ·
Show more comments