Skip to content

Commit 97acd44

Browse files
committed
Upgrade 2.0.0 release version to 3.0.0-alpha version
1 parent e1f7e30 commit 97acd44

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

sonic-android/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Add VasSonic gradle plugin as a dependency in your module's build.gradle
1010
```gradle
11-
compile 'com.tencent.sonic:sdk:2.0.0'
11+
compile 'com.tencent.sonic:sdk:3.0.0-alpha'
1212
```
1313

1414
## Implement sonic interface:

sonic-android/docs/Sonic接入指引.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
在模块的build.gradle文件里面加入
55

66
```
7-
compile 'com.tencent.sonic:sdk:2.0.0'
7+
compile 'com.tencent.sonic:sdk:3.0.0-alpha'
88
```
99

1010
## 2.代码接入

sonic-android/sample/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ dependencies {
2626
})
2727

2828
// compile sdk from jcenter
29-
// compile 'com.tencent.sonic:sdk:2.0.0'
29+
compile 'com.tencent.sonic:sdk:3.0.0-alpha'
3030

3131
// compile sonic-sdk from local path
32-
compile project(path: ':sdk')
32+
// compile project(path: ':sdk')
3333

3434
compile 'com.android.support:appcompat-v7:25.2.0'
3535
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'

sonic-android/sdk/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
defaultConfig {
1111
minSdkVersion 9
1212
targetSdkVersion 25
13-
versionCode 2
14-
versionName "2.0.0"
13+
versionCode 3
14+
versionName "3.0.0-alpha"
1515

1616
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1717
}
@@ -43,7 +43,7 @@ dependencies {
4343

4444

4545
// sdk info
46-
version = "2.0.0-beta" // sdk version num
46+
version = "3.0.0-alpha" // sdk version num
4747
group = "com.tencent.sonic" // maven group id for the artifact
4848
def SITE_URL = "https://github.com/Tencent/VasSonic" // web site url
4949
def GIT_URL = "https://github.com/Tencent/VasSonic.git" // git url

sonic-android/sdk/src/main/java/com/tencent/sonic/sdk/download/SonicDownloadEngine.java

+2
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ public void run() {
218218
* When the webview initiates a sub resource interception, the client invokes this method to retrieve the data
219219
*
220220
* @param url The url of sub resource
221+
* @param session current sonic session
221222
* @return Return the data to kernel
222223
*/
223224
public Object onRequestSubResource(String url, SonicSession session) {
@@ -268,6 +269,7 @@ public Object onRequestSubResource(String url, SonicSession session) {
268269

269270
/**
270271
* preload the sub resource in the "sonic-link" header.
272+
* @param preloadLinks The links which need to be preloaded.
271273
*/
272274
public void addSubResourcePreloadTask(List<String> preloadLinks) {
273275

sonic-iOS/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
[![wiki](https://img.shields.io/badge/Wiki-open-brightgreen.svg)](https://github.com/Tencent/VasSonic/wiki)
55
---
66

7-
### 2.0.0 support!
7+
### 3.0.0-alpha support!
88
To integrate VasSonic into your Xcode project using CocoaPods, specify it in your Podfile:
99

1010
```lua
1111
source 'https://github.com/CocoaPods/Specs.git'
1212
platform :ios, '8.0'
1313

1414
target 'TargetName' do
15-
pod 'VasSonic', '2.0.0'
15+
pod 'VasSonic', '3.0.0-alpha'
1616
end
1717
```
1818

@@ -24,7 +24,7 @@ source 'https://github.com/CocoaPods/Specs.git'
2424
platform :ios, '8.0'
2525

2626
target 'TargetName' do
27-
pod 'VasSonic', '2.0.0'
27+
pod 'VasSonic', '3.0.0-alpha'
2828
end
2929
```
3030

0 commit comments

Comments
 (0)