Skip to content

Commit

Permalink
Merge pull request #2 from tiktok/v1.3.2
Browse files Browse the repository at this point in the history
Fix:Fix price calculation issue
  • Loading branch information
chaofeng01 authored May 13, 2024
2 parents 714388f + 79ba296 commit 6a3e270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ private static JSONObject getPurchaseProperties(String sku, JSONObject skuDetail
try {
// trying to remove the currency symbol from price
if (!currencyCode.equals("") && !price.equals("")) {
price = price.replace(",", "");
Pattern regex = Pattern.compile("(\\d+(?:\\.\\d+)?)");
Matcher matcher = regex.matcher(price);
if (matcher.find()) {
Expand Down
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.1
VERSION_NAME=1.3.2

mavenGroupId = com.tiktok
mavenArtifactId = tiktok-business-android-sdk

0 comments on commit 6a3e270

Please sign in to comment.