send a af_purchase event from unity3d to ios appsflyer sdk,the code i used:
Dictionary<string, string> eventValues = new Dictionary<string, string>();eventValues.Add("af_revenue","100")eventValues.Add("af_currency","USD")AppsFlyer.sendEvent("af_purchase", eventValues);//this will call _afSendEvent in ios(Objective-c)
What did you expect to happen?
appsflyer report fb_mobile_purchase to Facebook with correct currency value,in this example,it should be USD.
What happened instead?
In facebook event manager,it's report an warning:
invalid fb_mobile_purchase currency code
because the value of fb_currency which appsflyer reported is "N/A"
Please provide any other relevant information.
When I skip sendEvent when eventName equals 'af_purchase',the waning above was disappear,so i thinks this is a bug in appsflyer ios sdk.
There are two purchase events produced after a purchase action,one is from facebook auto reporting,the other is from appsflyer.
Report
SDK Version
6.3.2
What did you do?
send a af_purchase event from unity3d to ios appsflyer sdk,the code i used:
Dictionary<string, string> eventValues = new Dictionary<string, string>();
eventValues.Add("af_revenue","100")
eventValues.Add("af_currency","USD")
AppsFlyer.sendEvent("af_purchase", eventValues);//this will call _afSendEvent in ios(Objective-c)
What did you expect to happen?
appsflyer report fb_mobile_purchase to Facebook with correct currency value,in this example,it should be USD.
What happened instead?
In facebook event manager,it's report an warning:
invalid fb_mobile_purchase currency code
because the value of fb_currency which appsflyer reported is "N/A"Please provide any other relevant information.
When I skip sendEvent when eventName equals 'af_purchase',the waning above was disappear,so i thinks this is a bug in appsflyer ios sdk. There are two purchase events produced after a purchase action,one is from facebook auto reporting,the other is from appsflyer.