Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix: url parse bug (#16)
Browse files Browse the repository at this point in the history
* fix: url parse bug

* fix: change comments

* feat: change version
  • Loading branch information
wp-byte committed Apr 28, 2021
1 parent c26fdbf commit bd8ed1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public static JSONObject getBusinessSDKConfig(Map<String, Object> options) {
// the rest params are for the sake of simplicity of debugging
paramsMap.put("client", "android");
paramsMap.put("sdk_version", SystemInfoUtil.getSDKVersion());
paramsMap.put("app_name", SystemInfoUtil.getAppName());
// for fix bug in lower Android API edition. Maybe there is something wrong with language package, url can not be parsed successfully with some special char
// paramsMap.put("app_name", SystemInfoUtil.getAppName());
paramsMap.put("app_version", SystemInfoUtil.getAppVersionName());
paramsMap.put("tiktok_app_id", TikTokBusinessSdk.getTTAppId());
paramsMap.putAll(options);
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.2.2
VERSION_NAME=1.2.3

mavenGroupId = com.tiktok
mavenArtifactId = tiktok-business-android-sdk
2 changes: 1 addition & 1 deletion samples/internalmonitor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
implementation project(':business-core')
// implementation 'com.tiktok:tiktok-business-android-sdk:1.1.0-alpha.2'

// implementation 'com.github.bytedance:tiktok-business-android-sdk:1.2.2'
// implementation 'com.github.bytedance:tiktok-business-android-sdk:1.2.3'
implementation 'androidx.cardview:cardview:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
Expand Down

0 comments on commit bd8ed1a

Please sign in to comment.