react-native-tracking-transparency icon indicating copy to clipboard operation
react-native-tracking-transparency copied to clipboard

Is there any way to change the status after the request prompt is already shown?

Open Ruzen1 opened this issue 3 years ago • 2 comments

Hey am sorry to bother again but your advice is very valuable.

I want to change the tracking status when the user clicks a button but it seems the request prompt can be shown only once right? Is there any other way to change the status ?

Thank you

Ruzen1 avatar Apr 28 '21 21:04 Ruzen1

just open the app's settings. The user can change their the tracking.

hannojg avatar May 07 '21 06:05 hannojg

According to Apple docs:

The requestTrackingAuthorization(completionHandler:) is the one-time request to authorize or deny access to app-related data that can be used for tracking the user or the device. The system remembers the user’s choice and doesn’t prompt again unless a user uninstalls and then reinstalls the app on the device.

Ref: https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorization

So the only way to change it after having already shown it, is to prompt the user to go to the app's settings, as mentioned above.

rodriigovieira avatar May 18 '21 16:05 rodriigovieira