Skip to content
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

onAppOpenAttribution Data Not Returning in React Native AppsFlyer SDK #580

Open
huseyintamer opened this issue Sep 25, 2024 · 1 comment
Labels

Comments

@huseyintamer
Copy link

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
Copy link

👋 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants