Skip to content

Commit

Permalink
fix: Add missing currency
Browse files Browse the repository at this point in the history
  • Loading branch information
chaofeng01 committed Jun 27, 2024
1 parent 57e77d5 commit 69199ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ enum Currency {
AED, ARS, AUD, BDT, BHD, BIF, BOB, BRL, CAD, CHF, CLP, CNY, COP, CRC, CZK, DKK, DZD, EGP,
EUR, GBP, GTQ, HKD, HNL, HUF, IDR, ILS, INR, ISK, JPY, KES, KHR, KRW, KWD, KZT, MAD, MOP,
MXN, MYR, NGN, NIO, NOK, NZD, OMR, PEN, PHP, PKR, PLN, PYG, QAR, RON, RUB, SAR, SEK, SGD,
THB, TRY, TWD, UAH, USD, VES, VND, ZAR
THB, TRY, TWD, UAH, USD, VES, VND, ZAR, BGN, IQD,JOD, LBP, TZS
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android.enableJetifier=true

GROUP=com.tiktok

VERSION_NAME=1.3.3
VERSION_NAME=1.3.4

mavenGroupId = com.tiktok
mavenArtifactId = tiktok-business-android-sdk
10 changes: 10 additions & 0 deletions samples/TestApp/src/main/java/com/example/testdata/TestEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.ARS;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.AUD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.BDT;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.BGN;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.BHD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.BIF;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.BOB;
Expand All @@ -60,13 +61,16 @@
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.IDR;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.ILS;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.INR;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.IQD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.ISK;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.JOD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.JPY;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.KES;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.KHR;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.KRW;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.KWD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.KZT;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.LBP;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.MAD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.MOP;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.MXN;
Expand All @@ -90,6 +94,7 @@
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.THB;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.TRY;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.TWD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.TZS;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.UAH;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.USD;
import static com.tiktok.appevents.contents.TTContentsEventConstants.Currency.VES;
Expand Down Expand Up @@ -264,6 +269,11 @@ public static String[] getAllEvents() {
TTCurrency.put(HUF.toString(),HUF);
TTCurrency.put(NZD.toString(),NZD);
TTCurrency.put(VES.toString(),VES);
TTCurrency.put(BGN.toString(),BGN);
TTCurrency.put(IQD.toString(),IQD);
TTCurrency.put(JOD.toString(),JOD);
TTCurrency.put(LBP.toString(),LBP);
TTCurrency.put(TZS.toString(),TZS);
}
}

0 comments on commit 69199ca

Please sign in to comment.