appsflyer-react-native-plugin icon indicating copy to clipboard operation
appsflyer-react-native-plugin copied to clipboard

onAppOpenAttribution Data Not Returning in React Native AppsFlyer SDK

Open huseyintamer opened this issue 1 year ago • 1 comments

I’m experiencing an issue where the onAppOpenAttribution callback does not return data on both iOS and Android. However, I am able to access the networkUserId. Below is the code I’m using:

appsFlyer.getAppsFlyerUID((error,` networkUserId) => {
  console.log('errorr', error);
  console.log('networkUserId', networkUserId);

  appsFlyer.onAppOpenAttribution(data => {
    console.log('onAppOpenAttribution inside', data);
    try {
      // It's important to include the network user ID
      adapty.updateAttribution(
        data,
        AttributionSource.AppsFlyer,
        networkUserId,
      );
    } catch (error) {
      console.log('updateAttribution error', error);
    }
  });
`});

The onAppOpenAttribution callback gets triggered but no data is being returned inside it. This issue is happening on both iOS and Android devices.

•	React Native: 0.72.4
•	react-native-appsflyer: ^6.15.1

huseyintamer avatar Sep 25 '24 21:09 huseyintamer

👋 Hi @huseyintamer and Thank you for reaching out to us. You can contact AppsFlyer support through the Customer Assistant Chatbot for assistance with troubleshooting issues or product guidance. To do so, please follow this article.

github-actions[bot] avatar Sep 25 '24 22:09 github-actions[bot]

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Jul 25 '25 10:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 09 '25 10:08 github-actions[bot]