Search code examples
androidappsflyer

In Appsflyer the "number of actions" event is not update when clicked in android device. But working in emulator


In Appsflyer the number of actions event is not update when clicked in android device. But working in emulator. What could be the reason? How to fix it? I have added my device in the whitelist. But still my click events do not increase the count in appsflyer dashboard. What am I missing. Some events were already added. They are working fine. On particular event that I added is not posting any updates in appsflyer.

eventValue.put("af_device_id", <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT, <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT_ID, <hidden text>);
eventValue.put("af_variant_id", <hidden text>);
eventValue.put(AFInAppEventParameterName.CURRENCY, <hidden text>);
eventValue.put(AFInAppEventParameterName.PRICE, <hidden text>);
eventValue.put(AFInAppEventParameterName.CONTENT_TYPE, <hidden text>);
eventValue.put("af_user_phone", <hidden text>);
eventValue.put("af_user_name", <hidden text>);
AppsFlyerLib.getInstance().trackEvent(context, "af_recommendations_click", eventValue);

Solution

  • I had the wrong data range. So the events didn't show up.