appsflyer-react-native-plugin
appsflyer-react-native-plugin copied to clipboard
onAppOpenAttribution Data Not Returning in React Native AppsFlyer SDK
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
👋 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.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.