Kontagent ios. Currency code for tracking -


i have kontagent analytics plugin in unity project (v. 1.5.7) , have 1 problem. when have purchases, can set how player spends in game, if user doesn't spend in usd wrong amount of money. can set currency code when track iap kontagent server?

or can advice me plugins convert local currency usd?

upd: use link convert money. but. example:
swedish purchase of 7 krona ($0.99) convert 101 cent (need 99). because different convert system in app server apple.
so, can set currency code when track iap kontagent server?

show price this:

_priceformatter = [[nsnumberformatter alloc] init]; [_priceformatter setnumberstyle:nsnumberformattercurrencystyle]; [_priceformatter setlocale:product.pricelocale]; alabel.text = [_priceformatter stringfromnumber:product.price]; 

and send kontagent this:

upsight.trackinapppurchase("com.lucksound.product.item", 1,     upsightiospurchaseresolution.buy, iapreceiptdata); 

you should update latest version (now upsight) needs. github link

you shouldn't need change amount separately apple.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -