File tree 7 files changed +9
-9
lines changed
src/main/java/com/tencent/sonic/sdk
7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Pic 1: Before Using VasSonic | Pic 2: After Using VasSonic
38
38
[ Getting started with PHP] ( https://github.com/Tencent/VasSonic/blob/master/sonic-php/README.md )
39
39
40
40
## Demo Downloads
41
- 1 . [ Here] ( https://github.com/Tencent/VasSonic/releases/tag/1.0 ) are the sample demo for Android and iOS.
41
+ 1 . [ Here] ( https://github.com/Tencent/VasSonic/releases/tag/1.1. 0 ) are the sample demo for Android and iOS.
42
42
43
43
44
44
## Support
Original file line number Diff line number Diff line change 8
8
9
9
Add VasSonic gradle plugin as a dependency in your module's build.gradle
10
10
``` gradle
11
- compile 'com.tencent.sonic:sdk:1.0 .0'
11
+ compile 'com.tencent.sonic:sdk:1.1 .0'
12
12
```
13
13
14
14
## Implement sonic interface:
Original file line number Diff line number Diff line change 4
4
在模块的build.gradle文件里面加入
5
5
6
6
```
7
- compile 'com.tencent.sonic:sdk:1.0 .0'
7
+ compile 'com.tencent.sonic:sdk:1.1 .0'
8
8
```
9
9
10
10
## 2.代码接入
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ dependencies {
26
26
})
27
27
28
28
// compile sdk from jcenter
29
- // compile 'com.tencent.sonic:sdk:1.0 .0'
29
+ compile ' com.tencent.sonic:sdk:1.1 .0'
30
30
31
31
// compile sonic-sdk from local path
32
- compile project(path : ' :sdk' )
32
+ // compile project(path: ':sdk')
33
33
34
34
compile ' com.android.support:appcompat-v7:25.2.0'
35
35
compile ' com.android.support.constraint:constraint-layout:1.0.0-alpha7'
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ android {
11
11
minSdkVersion 9
12
12
targetSdkVersion 25
13
13
versionCode 1
14
- versionName " 1.0"
14
+ versionName " 1.1. 0"
15
15
16
16
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
17
17
@@ -36,7 +36,7 @@ dependencies {
36
36
37
37
38
38
// sdk info
39
- version = " 1.0 .0" // sdk version num
39
+ version = " 1.1 .0" // sdk version num
40
40
group = " com.tencent.sonic" // maven group id for the artifact
41
41
def SITE_URL = " https://github.com/Tencent/VasSonic" // web site url
42
42
def GIT_URL = " https://github.com/Tencent/VasSonic.git" // git url
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class SonicConstants {
26
26
/**
27
27
* SonicSDK version
28
28
*/
29
- public final static String SONIC_VERSION_NUM = "1.0.1 " ;
29
+ public final static String SONIC_VERSION_NUM = "1.1.0 " ;
30
30
31
31
/**
32
32
* Sonic parameter prefix
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ public boolean shouldLog(int level) {
181
181
182
182
/**
183
183
* Get user agent of current runtime, this method will be called before sonic session make a
184
- * session connection to request data.(sonic sdk info such like "sonic-sdk-version/1.0" will
184
+ * session connection to request data.(sonic sdk info such like "sonic-sdk-version/1.1. 0" will
185
185
* be added to this user agent.)
186
186
* @return The user agent
187
187
*/
You can’t perform that action at this time.
0 commit comments