|
@@ -140,7 +140,7 @@ class LinkingAdjustImpl : IEventObserver {
|
|
|
if (!MMKVUtils.instance.eventKV.decodeBool("adjust_first_purchase")) {
|
|
|
if (JsonUtils.hasJsonKey(this, "first_purchase")) {
|
|
|
val event = AdjustEvent(this.getString("first_purchase"))
|
|
|
- event.setRevenue(amount.toDouble(), "USD")
|
|
|
+ event.setRevenue(amount.toDouble() / 100, "USD")
|
|
|
Adjust.trackEvent(event)
|
|
|
Logger.d("adjust log first charge success")
|
|
|
MMKVUtils.instance.eventKV.encode("adjust_first_purchase", true)
|
|
@@ -149,7 +149,7 @@ class LinkingAdjustImpl : IEventObserver {
|
|
|
|
|
|
if (JsonUtils.hasJsonKey(this, "ecommerce_purchase")) {
|
|
|
val event = AdjustEvent(this.getString("ecommerce_purchase"))
|
|
|
- event.setRevenue(amount.toDouble(), "USD")
|
|
|
+ event.setRevenue(amount.toDouble() / 100, "USD")
|
|
|
Adjust.trackEvent(event)
|
|
|
Logger.d("adjust log charge success")
|
|
|
}
|