AppsFlyerSDK / appsflyer-react-native-plugin

AppsFlyer plugin for React Native
MIT License
276 stars 197 forks source link

How Implement SKAN in Appsflyer ? #474

Closed ajiehatajie closed 1 year ago

ajiehatajie commented 1 year ago

How is the SKAN implementation, my application has received ATT permission using the library https://www.npmjs.com/package/react-native-tracking-transparency , but in the dashboard the data does not enter

Been emailed with CS but it didn't help at all

message in dashboard appsflyer.

Your app isn’t set up to send iOS postback copies (iOS 15+) to AppsFlyer. This is required to assure the integrity of your SKAN measurement

const getPermissionTransparancy = useCallback(async () => {
    const trackingStatus = await getTrackingStatus();

    if (trackingStatus !== 'authorized' && !permissions.iosTransparancy) {
      const trackingStatusPermission = await requestTrackingPermission();
      if (trackingStatusPermission) {
        setShowDialogTransparancy(true); // for state 
        dispatch(actionsBootstrap.setShowPermissionTransparancy(true)); //for redux
        dispatch(
          actionsBootstrap.setPermissionsIosTransparancy(
            trackingStatusPermission,
          ), //for redux
        );
      }
    }
  }, [dispatch, permissions]);

my depedency

"react-native": "0.71.10", "react-native-tracking-transparency": "^0.1.2", "react-native-appsflyer": "^6.10.3",

amit-kremer93 commented 1 year ago

Please take a look in the help center