analytics-react-native icon indicating copy to clipboard operation
analytics-react-native copied to clipboard

IDFA plugin to expose getTrackingAuthorizationStatus response

Open SYoder1 opened this issue 8 months ago • 0 comments

Summary

Can the getTrackingAuthorizationStatus function return the IdfaData so that we can decide if we can show the permission modal by calling requestTrackingPermission?

Proposed Solution

It looks like the IdfaData is returned from with in the .then, but the whole promise is not returned from the function. Can the return be added?

https://github.com/segmentio/analytics-react-native/blob/master/packages/plugins/plugin-idfa/src/IdfaPlugin.tsx#L63

SYoder1 avatar May 07 '25 17:05 SYoder1