mrousavy/react-native-tracking-transparency

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

Ruzen1 opened this issue · 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

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

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.