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

requestTrackingPermission returns 'denied'

Open forchello opened this issue 1 year ago • 4 comments

requestTrackingPermission returns 'denied' status without check for answer from modal.

requestTrackingPermission() .then(trackingStatus => { console.log('requestTrackingPermission', trackingStatus); // here shows "requestTrackingPermission denied" });

reactnative 0.73.7

forchello avatar May 03 '24 15:05 forchello

the same for me !!! Only in debug mode, OK in release

Olivier9925 avatar May 16 '24 12:05 Olivier9925

Is there a way around this???

tmaly1980 avatar Oct 24 '24 00:10 tmaly1980

same

AftabUfaq avatar Jun 03 '25 10:06 AftabUfaq

I've been having the same issue when running on a physical device and it was because of my device's Settings. Check the following:

Settings -> Privacy & Security -> Tracking

If you have it turned off at the global level, your device will automatically reject requests for tracking:

Image

fjcaetano avatar Sep 02 '25 15:09 fjcaetano