Skip to content

IDFA plugin to expose getTrackingAuthorizationStatus response #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
SYoder1 opened this issue May 7, 2025 · 0 comments
Open

IDFA plugin to expose getTrackingAuthorizationStatus response #1070

SYoder1 opened this issue May 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@SYoder1
Copy link

SYoder1 commented May 7, 2025

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 SYoder1 added the enhancement New feature or request label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant