adjust / adobe_air_sdk

This is the Adobe AIR SDK of
http://adjust.com
Other
24 stars 12 forks source link

Pass currency type/transaction ID through AIR SDK? #14

Closed dfranzi closed 9 years ago

dfranzi commented 9 years ago

When attempting to track revenue events for Adjust through the Adobe AIR SDK, I can't seem to find anything about how to set the currency type for the tracked event. Additionally, is there a facility for providing the transaction ID to support revenue event deduplication through the AIR SDK?

wellle commented 9 years ago

@dfranzi: Currency support will be added with SDK version 4. Until that is released you are are advised to track all revenue in a single currency of your choice.

dfranzi commented 9 years ago

Thanks for the update. Is there an expected timeline for v4?

wellle commented 9 years ago

Not really.

iangeisler commented 9 years ago

Any update on v4?

As it stands we can't use revenue data in Adjust and are having to look for alternatives.

uerceg commented 9 years ago

@iangeisler

We are updating all our non native SDKs to v4 and starting from next week, we will start working on Adobe AIR SDK v4 update.

iangeisler commented 9 years ago

Any update on this?

uerceg commented 9 years ago

@iangeisler Few more weeks. Hopefully somewhere in 2nd half of August we're going to release update for Adobe AIR SDK.

uerceg commented 9 years ago

@iangeisler I just wanted to update you that during this week we'll be finishing Adobe AIR SDK v4.0.0 and will release it next week.

uerceg commented 9 years ago

@iangeisler And it's alive: https://github.com/adjust/adobe_air_sdk/releases/tag/v4.0.0

iangeisler commented 9 years ago

Thank you @uerceg. Do we need to update the SDK in the game to have currency conversion work ?

uerceg commented 9 years ago

Yes, currency conversion is supported starting from v4.0.0. Upgrade to v4.0.0 brought some smaller API changes and migration guide when migrating from previous versions can be found in here: https://github.com/adjust/adobe_air_sdk/blob/master/doc/migrate.md

nonelse commented 9 years ago

Also @iangeisler, take note that the revenue now it's in units, not cents. So 51 cents of a dollar revenue was tracked as Adjust.trackRevenue(51,"abc123");, it's now config.setRevenue(0.51, "USD");

uerceg commented 9 years ago

@iangeisler Since we spotted one bug in released ANE which needed to be fixed ASAP, please, re-download ANE 4.0.0 again and use that one.