Skip to content

Custom IDFA message not showing  #17

@mustapha-ghlissi

Description

@mustapha-ghlissi

Hi There,

I've installed this lib and well displaying the request Tracking, but the custom IDFA isn't showing up

This is my code:

import {
  getTrackingStatus,
  requestTrackingPermission,
  TrackingStatus,
} from 'react-native-tracking-transparency';


getTrackingStatus()
      .then((status) => {

        if (status !== 'denied' && status !== 'authorized') {
          this.requestPermissions();
        }
        else {
          this.setState({
            trackingState: status
          });
        }
        
      })
      .catch((e) => Alert.alert('Error', e?.toString?.() ?? e));

Any help please !
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions