Skip to content

Commit

Permalink
Upgrade 2.0.0 release version to 3.0.0-alpha version
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonlu committed Jan 12, 2018
1 parent e1f7e30 commit 97acd44
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sonic-android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

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

## Implement sonic interface:
Expand Down
2 changes: 1 addition & 1 deletion sonic-android/docs/Sonic接入指引.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
在模块的build.gradle文件里面加入

```
compile 'com.tencent.sonic:sdk:2.0.0'
compile 'com.tencent.sonic:sdk:3.0.0-alpha'
```

## 2.代码接入
Expand Down
4 changes: 2 additions & 2 deletions sonic-android/sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ dependencies {
})

// compile sdk from jcenter
// compile 'com.tencent.sonic:sdk:2.0.0'
compile 'com.tencent.sonic:sdk:3.0.0-alpha'

// compile sonic-sdk from local path
compile project(path: ':sdk')
// compile project(path: ':sdk')

compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
Expand Down
6 changes: 3 additions & 3 deletions sonic-android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 25
versionCode 2
versionName "2.0.0"
versionCode 3
versionName "3.0.0-alpha"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -43,7 +43,7 @@ dependencies {


// sdk info
version = "2.0.0-beta" // sdk version num
version = "3.0.0-alpha" // sdk version num
group = "com.tencent.sonic" // maven group id for the artifact
def SITE_URL = "https://github.com/Tencent/VasSonic" // web site url
def GIT_URL = "https://github.com/Tencent/VasSonic.git" // git url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public void run() {
* When the webview initiates a sub resource interception, the client invokes this method to retrieve the data
*
* @param url The url of sub resource
* @param session current sonic session
* @return Return the data to kernel
*/
public Object onRequestSubResource(String url, SonicSession session) {
Expand Down Expand Up @@ -268,6 +269,7 @@ public Object onRequestSubResource(String url, SonicSession session) {

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

Expand Down
6 changes: 3 additions & 3 deletions sonic-iOS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
[![wiki](https://img.shields.io/badge/Wiki-open-brightgreen.svg)](https://github.com/Tencent/VasSonic/wiki)
---

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

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

target 'TargetName' do
pod 'VasSonic', '2.0.0'
pod 'VasSonic', '3.0.0-alpha'
end
```

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

target 'TargetName' do
pod 'VasSonic', '2.0.0'
pod 'VasSonic', '3.0.0-alpha'
end
```

Expand Down

0 comments on commit 97acd44

Please sign in to comment.