Closed alexandra-mikh closed 6 years ago
Hi @alexandra-mikh this fix has been released in SDK version 6.15.18. Thanks for your patience!
Hi Sam,
Thanks for cooperation and letting us know.
Kind regards, Alexandra.
On 13 Dec 2017, at 21:00, Sam Dozor notifications@github.com wrote:
Hi @alexandra-mikh https://github.com/alexandra-mikh this fix has been released in SDK version 6.15.18. Thanks for your patience!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mParticle/mparticle-apple-sdk/issues/56#issuecomment-351520517, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRXHsXiZJFIscjlwm6WtV_LMJj-pVPGks5tADrkgaJpZM4QkffE.
Hello, Original issue we are facing is that currency property which is passed to mParticle is not sent to AppsFlyer for commerce events. Checking out the mparticle-apple-sdk it turns out that at some point the property is lost while copying MPCommerceEvent inside mparticle sdk.![screen shot 2017-11-20 at 15 01 55](https://user-images.githubusercontent.com/5527326/33027960-70a7e6ce-ce0c-11e7-84a3-0100ade11a85.png)
__block MPCommerceEvent *forwardCommerceEvent = [commerceEvent copy];
Checking out the MPCommerceEvent NSCopying protocol implementation, you can see that currency property is not being copied, which later is affecting AppsFlyer event setupif (commerceEvent.currency) { values[AFEventParamCurrency] = commerceEvent.currency; }
I'm not sure if it was done for a reason though.