Skip to content

IDFA plugin to expose getTrackingAuthorizationStatus response #1070

@SYoder1

Description

@SYoder1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions